Don't wait for speculative majority read concern when inside DBDirectClient

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2019-10-21, Repl 2019-11-04, Repl 2020-01-27
    • 4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It is possible for us to run a command inside DBDirectClient when the parent operation is running under speculative majority read concern. In this case, we may hit this invariant if we have not set the read source yet. We should probably return immediately from waitForSpeculativeMajorityReadConcern since we should never need to do speculative majority waiting when inside a direct client operation.

            Assignee:
            Will Schultz
            Reporter:
            Will Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: