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

Fail ShardRole acquisition restore if CollectionCatalog has been reopened

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-01-20, CAR Team 2025-02-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      CollectionCatalog re-open, which causes the "catalog epoch" to increment, is used as proxy for detecting rollback. Query plans check that upon restore from yield, the catalog has not been re-opened (see here, here and here). This check could be unified and placed under the ShardRole restore procedure (and remove the existing checks on the query plans once they all use ShardRole acquisitions).

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: