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

Display timestamps in shell as Timestamp(T, I)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: