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

ConfigureCollectionBalancing command should refresh collection routing info

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0, 5.3.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.3
    • Sharding EMEA 2022-03-07

      If a database is dropped and recreated and then configure collection balancing is run immediately, the call to getShardedCollectionRoutingInfo can return a stale uuid for the collection which will cause a uassertion that there is a conflicting operation in progress. The command will retry, but will still get stale information. We should update the call to the catalog cache to use getShardedCollectionRoutingInfoWithRefresh

            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: