make ShardLocal::_runCommand support read after opTime

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.5.6
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-05-29, Sharding 2017-06-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Unlike

      ShardLocal::_runCommand does not do anything to ensure read after opTime.

      This ticket is to separate the read after opTime behavior in ShardLocal::_exhaustiveFindOnConfig into an ensureReadAfterOpTime() function and call it in both ShardLocal::_exhaustiveFindOnConfig and ShardLocal::_runCommand.

      This is to support moving metadata commands to the config server which use runCommand to do (non-cursor-generating) reads, such as counts.

            Assignee:
            Esha Maharishi (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: