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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc7, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-30

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cheahuychou.mao@mongodb.com Cheahuychou Mao
              cheahuychou.mao@mongodb.com Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: