[SERVER-55207] Script split_horizon_hostname_startup sporadically fails Created: 15/Mar/21  Updated: 29/Oct/23  Resolved: 16/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0

Type: Bug Priority: Major - P3
Reporter: Sergey Galtsev (Inactive) Assignee: Sergey Galtsev (Inactive)
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: Security 2021-03-22
Participants:
Linked BF Score: 142

 Description   

See BF-20426



 Comments   
Comment by Githook User [ 16/Mar/21 ]

Author:

{'name': 'Sergey Galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-55207 Script split_horizon_hostname_startup sporadically fails
Branch: master
https://github.com/mongodb/mongo/commit/91f414df0d86fbb2457979e31af0fb1a99f78b71

Comment by Sergey Galtsev (Inactive) [ 15/Mar/21 ]

There is a race condition in split_horizon_hostname_startup caused by a node waiting to become master on startup and causing replSetReconfig to fail with 10107 NotWritablePrimary

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