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

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

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

      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:
            william.schultz@mongodb.com William Schultz (Inactive)
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: