[SERVER-60019] Replica fails to restart if the status is checked before it's warm Created: 16/Sep/21  Updated: 16/Sep/21  Resolved: 16/Sep/21

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

Type: Bug Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Andrew Shuvalov (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Steps To Reproduce:

Remove sleeps in the backport BACKPORT-10473. This never fails when run locally, but has a good chance to fail with burn-in tests at waterfall. Apparently the race requires the server to be resource constrained to show up.

Sprint: Sharding 2021-11-15
Participants:

 Description   

There is some race that makes the test flaky. Symptoms: a test kills and restarts replica fast, after restart it checks the status immediately. The replica never becomes either primary or secondary.


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