[SERVER-44509] Make isMaster wait for up to maxAwaitTimeMS Created: 08/Nov/19  Updated: 29/Oct/23  Resolved: 25/Nov/19

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

Type: Task Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-44508 Add maxAwaitTimeMS and topologyVersio... Closed
is depended on by SERVER-44510 Service layer / command changes to im... Closed
is depended on by SERVER-44511 Make "hangInAwaitableIsMaster" failpo... Closed
is depended on by SERVER-44514 TopologyCoordinator::awaitTopologyCha... Closed
is depended on by SERVER-44813 Implement isMaster with maxAwaitTimeM... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-12-02
Participants:

 Description   

This will eventually use the ReplicationCoordinator to know about topology changes, but not yet.

Simulate an isMaster request with or without topologyVersion and with or without maxAwaitTimeMS. Assert the server follows the rules in the main design doc.

Log at log level 3 whether maxAwaitTimeMS is used.



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

Author:

{'name': 'Haley Connelly', 'username': 'haleyConnelly', 'email': 'haley.connelly@10gen.com'}

Message: SERVER-44509 Make isMaster wait for up to maxAwaitTimeMS
Branch: master
https://github.com/mongodb/mongo/commit/c9f191afbacc6851f4a7d30448d25e3288818251

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