[SBE] Implement a check that the current node can serve reads

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2020-07-13, Query 2020-07-27, Query 2020-08-10, Query 2020-08-24
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have a check in DocumentSourceCursor to ensure that the current node in a replica set can serve reads. Due to the fact that in SBE we use an internal lock policy, we changed this check to only perform it when the lock policy is external, since in DocumentSourceCursor we acquire a collection lock ourselves. That means that in SBE we do not perform this check any longer, so we have to figure out who is going to perform this check in SBE and implement it.

            Assignee:
            Eric Cox (Inactive)
            Reporter:
            Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: