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

[ephemeralForTest] TemporaryKVRecordStore fails to register commit handler in WCE loop

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.2, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Execution Team 2021-07-26
    • 20

    Description

      In SERVER-57231, we updated the finalization logic in TemporaryKVRecordStore so that the finalization flag is updated in a commit handler when we are running within a WriteConflictException retry loop with an active WriteUnitOfWork.

      However, the RecoveryUnit in a ephemeralForTest storage engine never returns true for the RecoveryUnit::isActive() function. The implementation transitions the internal state to kInactiveInUnitOfWork but never makes to Active. Most of the server code that queries the active state only cares about !isActive() so this is generally not an issue for test deployments using the ephemeralForTest storage engine.

      The impact of this defect is limited to server instances running the non-production ephemeralForTest storage engine.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: