Validate the numInitialChunks parameter for 'shardcollection' earlier

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 12 (04/01/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      ShardCollectionCmd::run relies on Chunk::multiSplit to validate that a chunk is not split into more than 8192 parts as part of a 'shardcollection' command:

          uassert(13333, "can't split a chunk in that many parts", m.size() < maxSplitPoints);
      

      This check should occur earlier to prevent unnecessary work on the mongos process.

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Kamran K. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: