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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.7.4
    • Component/s: Shell
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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) }

              Assignee:
              Unassigned
              Reporter:
              Ryan Nitz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: