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

Display timestamps in shell as Timestamp(T, I)

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: