Add intentRegistry check for replica state transition in getConsistentCatalogAndSnapshot

XMLWordPrintableJSON

    • Replication
    • Fully Compatible
    • ALL
    • Repl 2025-08-18, Repl 2025-09-01, Repl 2025-09-15
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If stepdown starts while we are in getConsistentCatalogAndSnapshot but doesn't complete, then it will change the transaction state to active and return an inconsistent catalog and snapshot, and eventually violate this invariant once it recognizes its a secondary and tries to change its readSource. In this while loop we need to use the new intent registry API to check if we are in an active state transition both before and after we open the snapshot and not return the snapshot if we are.

            Assignee:
            Ruchitha Rajaghatta
            Reporter:
            Ruchitha Rajaghatta
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: