Hang upon restart when there is a prepared internal transaction for retryable findAndModify executed with storeFindAndModifyImagesInSideCollection=true to reconstruct

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc7, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Upon restart, if a node has a prepared internal transaction for retryable findAndModify executed with storeFindAndModifyImagesInSideCollection=true to recover, the reconstruct prepared transactions step would get stuck indefinitely as applying the prepare oplog entry appears to keep hitting WriteConflict errors. This error can be reproduced using these two test cases in retryable_findAndModify_commit_and_abort_prepared_txns_after_failover.js by making the jstest trigger a restart instead of a failover.

              Assignee:
              Cheahuychou Mao
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: