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

NumberLong breaks dataSize

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.3.2
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: