[SERVER-75839] Make sure read_write_concern_defaults_startup.js waits for primary to be writeable after restarting node Created: 07/Apr/23  Updated: 29/Oct/23  Resolved: 07/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2023-04-17
Participants:
Linked BF Score: 5

 Description   

I think we can fix this by calling getPrimary after we restart the node here.



 Comments   
Comment by Githook User [ 07/Apr/23 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-75839 Make sure read_write_concern_defaults_startup.js waits for primary to be writeable after restarting node
Branch: master
https://github.com/mongodb/mongo/commit/9d3d599dd1654b17edb19ef48ad1eb081a4ce831

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