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

Display OpTime in decimal

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Replication
    • 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

        Activity

          People

            Unassigned Unassigned
            jon.rangel@mongodb.com Jon Rangel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: