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

NumberLong breaks dataSize

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.3.2
    • JavaScript
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              aaron Aaron Staple
              mike Michael Dirolf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: