[SERVER-14428] Display OpTime in decimal Created: 02/Jul/14  Updated: 10/Dec/14  Resolved: 03/Jul/14

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

Type: Improvement Priority: Minor - P4
Reporter: Jon Rangel (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-9102 Improve Format of OpTime (Timestamp) ... Closed
Participants:

 Description   

In many places we display optime in decimal (e.g. in rs.status()), but elsewhere the 'seconds' part of the optime is displayed in hex, which can make debugging a bit inconvenient. e.g. the following message string (also in rs.status())

"lastHeartbeatMessage" : "still syncing, not yet to minValid optime 53b2817e:349",

It would be good if OpTime::toString() could be changed to print the time in decimal.


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