Fail ShardRole acquisition restore if CollectionCatalog has been reopened

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: