Handle change in number of workers between prepare and commit for transactions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v8.2, v8.0, v7.0
    • Repl 2025-12-22
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When we prepare a tx, we store metadata in the SplitPrepareSessionManager, and refer back to it later when we commit the transaction. If these happen in two different oplog apply batches, the number of workers cannot be assumed to be the same, since we now allow this parameter to be modified at runtime. Add a check to make sure that we are using the correct number of workers at commit time, even if it has changed since prepare time. 

            Assignee:
            Indy Prentice
            Reporter:
            Indy Prentice
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: