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

SharedStateBase::setError should add error info to invariant msg

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.4
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2018-04-09

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: