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

make ShardLocal::_runCommand support read after opTime

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

      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@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: