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

chunk size of 0 causes floating point exception

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.0
    • None
    • Sharding
    • None
    • ALL

    Description

      To reproduce, set up a mongos, config server, and shard, set chunkSize to 0, and enable sharding on a db.

      In master, caused by return rand() % ( MaxChunkSize / 5 ); in chunk.cpp: mkDataWritten()

      Attachments

        Activity

          People

            brandon Brandon Diamond
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: