[SERVER-43729] replSetFreeze done part of RollbackTest.transitionToSyncSourceOperationsDuringRollback Should be resilient of errors. Created: 30/Sep/19 Updated: 29/Oct/23 Resolved: 10/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1, 4.2.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Suganthi Mani | Assignee: | Lingzhi Deng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2
|
||||||||
| Sprint: | Repl 2019-10-07, Repl 2019-10-21 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 7 | ||||||||
| Description |
|
rollback_fuzzer_[un]clean_shutdowns suites performs restart of nodes between the RollbackTest transition phase. When the nodes are restarted, we only wait until a current primary is elected and available to accept writes in the replica set. As a result, replSetFreeze cmd executed as part of this RollbackTest state transition method transitionToSyncSourceOperationsDuringRollback(), can throw an error if the node restarted is an uninitialized state (not yet loaded the local config or not reached the STARUP2 repl state). |
| Comments |
| Comment by Githook User [ 17/Oct/19 ] |
|
Author: {'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}Message: (cherry picked from commit 22c6eb00028fae04472a08b7029cf664d2243c71) |
| Comment by Githook User [ 10/Oct/19 ] |
|
Author: {'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com', 'name': 'Lingzhi Deng'}Message: |