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

Display timestamps in shell as Timestamp(T, I)

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.0
    • None
    • None

    Description

      We currently display them in a way that misleads users:

      { "ts" :

      { "t" : 1316888661000, "i" : 1 }

      , "h" : NumberLong(0), "op" : "n", "ns" : "", "o" :

      { "msg" : "initiating set" }

      }

      We should do this instead:

      { "ts" : Timestamp(1316888661000, 1), "h" : NumberLong(0), "op" : "n", "ns" : "", "o" :

      { "msg" : "initiating set" }

      }

      This is more analogous to the way we display object ids, and the type is obvious.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: