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

toJson produces incorrect shell TimeStamp constructor declaration

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.0-rc0
    • JavaScript, Tools
    • ALL

    Description

      $ ./bsondump dump/test/date.bson 
      { "_id" : Timestamp( 1361395091, 1 ) } // should be x1000 for millis constructor

      See SERVER-7718 for background on this.

      The current behavior will create incorrect TimeStamps in the shell.

      Attachments

        Activity

          People

            sverch Shaun Verch
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: