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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 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:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: