[SERVER-24468] add test to check that minOpTimeUpdaters is used to fetch latest opTime if shard fails during a migration Created: 08/Jun/16  Updated: 25/Jan/17  Resolved: 09/Aug/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.3.8
Fix Version/s: 3.3.11

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-24126 Add step to _cfgsvrAddShard command w... Closed
is related to SERVER-24465 Remove recoverShardingState parameter Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 18 (08/05/16), Sharding 2016-08-29
Participants:
Linked BF Score: 0

 Description   

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.



 Comments   
Comment by Githook User [ 11/Aug/16 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-24468 Add min_optime_recovery_on_failed_move_chunk_commit with requires persistence tag
Branch: master
https://github.com/mongodb/mongo/commit/c44504dd8da96d2260d1f82a72276bc60fc77d8a

Comment by Githook User [ 09/Aug/16 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-24468 add test to check that minOpTimeUpdaters is used to fetch latest opTime
Branch: master
https://github.com/mongodb/mongo/commit/bd6d1ac1027e68bd8ca1baba9c89c00bc72eec2a

Generated at Thu Feb 08 04:06:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.