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

TransactionParticipant::_resetTransactionStateAndUnlock() does not clear pre/post-image statistics

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-09-19

    Description

      The TransactionParticipant maintains a list of completed operations in a vector along with some associated statistics (size in bytes, pre/post-images, statement ids). There are two methods it uses to reset these operations and statistics:

      Current, _resetTransactionStateAndUnlock() does not reset numberOfPrePostImagesToWrite, something that clearOperationsInMemory() does. It would nice to resolve this inconsistency.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: