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

add test to check that minOpTimeUpdaters is used to fetch latest opTime if shard fails during a migration

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: 3.3.8
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 18 (08/05/16), Sharding 2016-08-29
    • 0

      Suggested steps:

      1) Trigger a failpoint in migration before issuing the moveChunk.
      2) Restart the shard with recoverShardingState=false (this setParameter only affects if the minOpTimeRecovery document is used to recover sharding state) and without --shardsvr.
      3) Verify that minOpTimeUpdaters in the minOpTimeRecovery document is non-zero.
      3) Restart the shard with recoverShardingState=true and without --shardsvr.
      4) Verify that minOpTimeUpdaters in the minOpTimeRecovery document goes to zero.
      5) Verify that the (config)opTime in the recovery document has been updated.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: