[SERVER-31348] Fix comparison of timestamps in report_latest_observed_optime.js Created: 02/Oct/17 Updated: 30/Oct/23 Resolved: 03/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Shell |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Charlie Swanson |
| 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 | ||||
| Sprint: | Repl 2017-10-02, Repl 2017-10-23 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
The shell does not correctly compare Timestamps, so we need to manually compare the 'getTime()' and the 'getInc()' values individually. |
| Comments |
| Comment by Githook User [ 03/Oct/17 ] |
|
Author: {'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson', 'username': 'cswanson310'}Message: |