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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2022-09-19

      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.

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

              Created:
              Updated:
              Resolved: