Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34300

SharedStateBase::setError should add error info to invariant msg

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Repl 2018-04-09

      It would be nice to get some additional information when we hit the invariants in SharedStateBase::setError() (future.h). It would provide some clue on how the caller might be misusing the futures API.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: