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

Shell is displaying some numbers in a collection as NumberLong("4187327222") and others as NumberLong(2109107744)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 1.7.4
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Operating System:
      ALL

      Description

      I'm not sure if this is a display bug or something else.

      This works fine:

      var doc = db.data.rrd.findOne(

      {cid: ObjectId('XXX'), g: 'opcounters', i: 'query', d: '20110203', hid : 'YYY'}

      ,

      {'mn.1330.t': 1}

      );
      print(doc.mn['1330'].t + 1);

      E.g.

      "1406" :

      { "n" : 2, "t" : NumberLong("4209660892") }

      ,
      "1407" :

      { "n" : 1, "t" : NumberLong(2104973521) }

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: