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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: