[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:
Backports
Depends
Problem/Incident
is caused by SERVER-44259 rollback_after_enabling_majority_read... Closed
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.
See this.



 Comments   
Comment by Githook User [ 20/Nov/19 ]

Author:

{'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}

Message: SERVER-44643: Use awaitSecondaryNodes in rollback_after_enabling_majority_reads.js instead of waitForState

(cherry picked from commit a529cd18fd0ff0b0de32f1fe861e7c8ffa15f068)
Branch: v4.0
https://github.com/mongodb/mongo/commit/745bdd1e86e3cd41835e76acde5127407d44b4ee

Comment by Githook User [ 20/Nov/19 ]

Author:

{'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}

Message: SERVER-44643: Use awaitSecondaryNodes in rollback_after_enabling_majority_reads.js instead of waitForState

(cherry picked from commit a529cd18fd0ff0b0de32f1fe861e7c8ffa15f068)
Branch: v4.2
https://github.com/mongodb/mongo/commit/d4cdec436acc5b9555c383000c20291fefc02895

Comment by Githook User [ 19/Nov/19 ]

Author:

{'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}

Message: SERVER-44643: Use awaitSecondaryNodes in rollback_after_enabling_majority_reads.js instead of waitForState
Branch: master
https://github.com/mongodb/mongo/commit/a529cd18fd0ff0b0de32f1fe861e7c8ffa15f068

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