[SERVER-47557] Write unit test for interaction of quiesce mode and REMOVED state Created: 15/Apr/20  Updated: 29/Oct/23  Resolved: 14/May/20

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

Type: Task Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-46893 Allow streamable isMaster to wait on ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-05-18
Participants:

 Description   

After SERVER-46893, there is special handling for isMaster commands  when a node is removed. We should add a unit test for the following case:

  • isMaster request during quiesce mode in REMOVED state

(There is no need to test entering quiesce mode from the REMOVED state or test the interaction of quiesce mode and the STARTUP state, since we only enter quiesce mode if we're in state SECONDARY. There is no need to test the behavior of waiting isMaster requests during quiesce mode, since isMaster requests always return immediately during quiesce mode.)



 Comments   
Comment by Githook User [ 14/May/20 ]

Author:

{'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}

Message: SERVER-47557 Write unit test for interaction of quiesce mode and REMOVED state
Branch: master
https://github.com/mongodb/mongo/commit/b3a13073bb5de88bf62a9c88ac4b2abd9166505b

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