Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8284

Improve verbose logging for transactions when rollback is required

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • WT10.0.1, 5.2.0, 5.0.5
    • None
    • None
    • None
    • 3
    • Storage - Ra 2021-11-01

    Description

      While working on a MongoDB test failure, I tried to use transaction-level verbose logging but found out that the current coverage is not quite up to the mark. Most of the existing logging is written around prepared transactions and there is very limited functionality for other use cases. 

      The aim of this ticket is to review the transaction module and insert verbose logging messages where appropriate. As a starter, a patch is attached to the ticket that was used to debug the MongoDB test failure mentioned above.

      Attachments

        1. diff.txt
          5 kB
        2. logs_txn.diff
          6 kB

        Activity

          People

            etienne.petrel@mongodb.com Etienne Petrel
            haseeb.bokhari@mongodb.com Haseeb Bokhari (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: