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

Disable autosplit on config.system.sessions when upgrading the cluster to avoid crashes on shard primaries

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.3, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding EMEA 2022-06-27

      Up until v6.0, the chunk splitter is hitting an invariant in case the configured chunk size for a collection is below 1MB. With the changes committed under SERVER-66078, the session collection default chunk size has been decreased to 200KB. Purpose of this ticket is to disable auto-split for the sessions collection in order to avoid hitting the invariant when upgrading to a version with the "no more auto splitter" feature flag active. This is safe because when upgrading, data-size aware balancing will start hence the auto-splitter can be safely disabled.

            paolo.polato@mongodb.com Paolo Polato
            paolo.polato@mongodb.com Paolo Polato
            0 Vote for this issue
            3 Start watching this issue