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

CollMod coordinator use possibly stale database information

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 6.0.15, 7.0.8, 7.3.2
    • Affects Version/s: 6.0.0, 7.0.0, 7.3.0-rc0
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v7.3, v7.0, v6.0
    • CAR Team 2024-03-18
    • 1

      As explained in SERVER-86671 it is not safe to access database information contained in the CollectionRoutingInformation when inside a DDL coordinator.

      Thus we should stop doing that in the CollMod coordinator. In this case we could simply use the current shard id since the coordinator is guarantee to be running on the database primary shard.

            Assignee:
            robert.sander@mongodb.com Robert Sander
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: