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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: