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

Hashed Sharding numInitialChunks option produces inconsistant results

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

      When dealing with higher number of shards(5+) the actual number of chunks produced does not coincide with the value passed into numInitialChunks. When it fails, it is generally less than the numInitialChunks value (I have yet to see it be higher). A test script proving this is attached. This test will go into an infinite loop on failure but produces useful information in it's output about the state of the system at that time.

        1. initialChunk.js
          1 kB
          Osmar Olivo

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

              Created:
              Updated:
              Resolved: