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

XMLWordPrintableJSON

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

      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.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: