For enabling autosplitting on mongod, we also need to disable autosplitting functionality in mongos. This requires the following work:
- Remove call to splitIfNeeded in ClusterWriter::write in cluster_write.cpp
- Remove function updateChunkStatsAndSplitIfNeeded from everywhere it's called (cluster_write.cpp, cluster_find_and_modify.cpp, cluster_map_reduce.cpp)
- Adjust any tests this breaks
There may also be other dead utility functions and such that should be removed.
- related to
-
SERVER-39683 shard request to split a same chunk at the same time.
- Closed