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

Prevent querying config.chunks for the shard version during chunk migration

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2021-07-26, Sharding EMEA 2021-08-09

      During chunk migration, versions are updated and then config.chunks is queried to try and return the latest version, including other simultaneous operations' updates to versions. This is not necessary since other operations may change the version while we are returning the version we have found, so we should avoid doing this extra work and return the version calculated from the migration.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: