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

Allow mongos to store full OpTimes for GLE support

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.9
    • None
    • Replication
    • None
    • Fully Compatible
    • RPL A (10/09/15)

    Description

      mongos needs to store OpTimes instead of Timestamps, in order to include the correct term when running GLE commands on shards.
      In pv1, mongos will receive a valid term in the optime it gets as part of $gleStats. This term can be used in the wOpTime field of a subsequent GLE command, and everything should work as long as the shard remains in pv1.
      In pv0, or from a 3.0 shard, mongos will receive no term in $gleStats. It will store a sentinel invalid term for such timestamps, and use just a timestamp for wOpTime in a subsequent GLE command.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: