Display OpTime in decimal

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Jon Rangel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: