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

Hashed Sharding pre-splitting behavior not to spec

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • 2.4.0-rc1
    • 2.4.0-rc0
    • Sharding
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: