|
Would be nice if the "split" command, if run without "middle", and with "fullSplit : true" or some such, would automatically try to split the chunk down into as many parts as required by the current maxChunkSize (would need to run a splitVector on the shard host). MaxChunkSize could also be specified in the split command.
Would also be nice if splitChunk, if run without "find" or "middle" (perhaps with "force : true" to avoid accidents), would do this for all chunks in the sharded collection. This would make cleaning up certain states caused by autosplit or the balancer failing pretty simple.
|