[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: |