[SERVER-48070] account for system clock drift when calculating time since last ismaster check Created: 09/May/20 Updated: 29/Oct/23 Resolved: 05/Jun/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc10, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Lamont Nelson | Assignee: | Lamont Nelson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||
| Sprint: | Sharding 2020-06-15 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 7 | ||||||||||||
| Description |
|
Time delta returned from _timeSinceLastCheck can return negative value if system clock doesn't return monotonic values. If this occurs return timeSinceLastCheck = 0 to be conservative. |
| Comments |
| Comment by Githook User [ 10/Jun/20 ] |
|
Author: {'name': 'Lamont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}Message: (cherry picked from commit 7d6fb98b2ff8758cf246d8e0260487f805e16663) |
| Comment by Githook User [ 05/Jun/20 ] |
|
Author: {'name': 'Lamont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}Message: |
| Comment by Lamont Nelson [ 04/Jun/20 ] |
|
code review: https://mongodbcr.appspot.com/591440012/ |