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

Log a message or create a statistic to record a failure case when modifying the update chain

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.0 Required
    • Component/s: None
    • Labels:
      None

      Description

      We would like to either log a message or increase a statistic if we hit the failure case that modifying the update chain fails after we have successfully inserted the updates onto the update chain.

      This is a follow on ticket of WT-6763, in which we discovered an edge case that after we have successfully inserted updates onto the update chain, we can still fail in __wt_txn_modify. In the failure case, we freed the updates already inserted onto the update chain in error handling, which causes a read after free issue.

      We should monitor how often such case happen.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              chenhao.qu Chenhao Qu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: