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

make ShardLocal::_runCommand support read after opTime

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.5.6
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2017-05-29, Sharding 2017-06-19

    Description

      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.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: