[SERVER-44643] Use awaitSecondaryNodes in rollback_after_enabling_majority_reads.js instead of waitForState Created: 14/Nov/19 Updated: 29/Oct/23 Resolved: 20/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.2, 4.0.14, 4.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Lingzhi Deng | 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, v4.0
|
||||||||||||||||
| Sprint: | Repl 2019-11-18, Repl 2019-12-02 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 25 | ||||||||||||||||
| Description |
|
If we want to wait for a node to actually reach SECONDARY state, as reported by itself, use awaitSecondaryNodes instead of waitForState. |
| Comments |
| Comment by Githook User [ 20/Nov/19 ] |
|
Author: {'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}Message: (cherry picked from commit a529cd18fd0ff0b0de32f1fe861e7c8ffa15f068) |
| Comment by Githook User [ 20/Nov/19 ] |
|
Author: {'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}Message: (cherry picked from commit a529cd18fd0ff0b0de32f1fe861e7c8ffa15f068) |
| Comment by Githook User [ 19/Nov/19 ] |
|
Author: {'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}Message: |