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

Priority Takeover Can Trigger Invariant in TransactionCoordinatorService

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: 6.0.16, 7.0.12, 5.0.28, 8.0.0-rc15
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0
    • Cluster Scalability Priorities
    • 200

      The TransactionCoordinatorService will create its _catalogAndScheduler, with an invariant that it doesn't already exist, when stepping up or during sharding initialization as a primary.

      However, if a secondary initiates a priority takeover and replicates the ShardingIdentity document from addShard as part of primary catch-up, it's possible that:

            Assignee:
            kruti.shah@mongodb.com Kruti Shah
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: