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

Disable chunk splitting functionality in mongos

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2018-07-30, Sharding 2018-08-13
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              Assignee:
              matthew.saltz Matthew Saltz
              Reporter:
              matthew.saltz Matthew Saltz
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: