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

NumberLong breaks dataSize

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.2
    • Affects Version/s: None
    • Component/s: JavaScript
    • 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 Aaron Staple
            Reporter:
            mike Michael Dirolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: