NumberLong breaks dataSize

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.3.2
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In particular totalIndexSize - which works by getting dataSize for each index and adding them to 0. Seems like this gets implicitly converted to a string append w/ the new NumberLong type. See this example:
      http://mongodb.pastebin.com/d7bdea29f

      Instead of ending up with 8192 * 3, we get 0819281928192.

            Assignee:
            Aaron Staple (Inactive)
            Reporter:
            Michael Dirolf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: