Transaction coordinator diagnostics should handle coordinator failover

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.1, 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v4.2
    • Sharding 2019-08-12, Sharding 2019-08-26, Sharding 2019-09-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, if a shard primary fails over while coordinating a two-phase commit, the new primary will create a new TransactionCoordinator to resume the two-phase commit, and the diagnostics it captures will be as if the new primary had coordinated the entire commit.

      The places with TODO comments in transaction_coordinator.cpp should be updated in a way that makes it clear whether the coordinator was resumed after failover or not.

              Assignee:
              Lamont Nelson
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: