Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14428

Display OpTime in decimal

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jon.rangel Jon Rangel
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: