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

Disable chunk splitting functionality in mongos

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2018-07-30, Sharding 2018-08-13
    • 0

      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.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: