[SERVER-18355] awaitReplication may not wake up and timeout when maxTimeMs runs out. Created: 06/May/15  Updated: 25/Jan/17  Resolved: 18/May/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.0.2
Fix Version/s: 3.1.4

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: UT
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

In awaitReplication we sleep based on the replication timeout. We should sleep the minimum of the replication timeout remaining and the remaining maxTimeMs



 Comments   
Comment by Githook User [ 18/May/15 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-18355 Make awaitReplication properly respect maxTimeMS
Branch: master
https://github.com/mongodb/mongo/commit/c9b53b54420c278e6b299dbba87c4167c928c03b

Generated at Thu Feb 08 03:47:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.