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

Hashed Sharding pre-splitting behavior not to spec

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.4.0-rc1
    • Affects Version/s: 2.4.0-rc0
    • Component/s: Sharding
    • None
    • ALL

      1. Hashed pre-splitting behavior does not work when there is only 1 shard. If you have 1 shard instead of following the default and having 2 chunks it is 0. Furthermore, if you specify numInitialChunks to be a value, the value is completely ignored and again defaults to 0 chunks. In short, the spec is not followed if there is 1 shard and it is not documented as such.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            osmar.olivo Osmar Olivo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: