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

chunk size of 0 causes floating point exception

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • ALL

      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()

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

              Created:
              Updated:
              Resolved: