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

Disable chunk splitting functionality in mongos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.2
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2018-07-30, Sharding 2018-08-13
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: