Remove claimed prepared transactions from hash map

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Transactions
    • None
    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-09-12
    • 5

      Add lifecycle management to remove WT_PENDING_PREPARED_ITEM entries from the hash map once the prepared transaction has been successfully claimed.

      Currently, prepared transaction items remain in the hash map even after they have been claimed by a session. This leads to stale entries that could cause confusion or errors if accessed again.

       

      Technical Considerations:

      • Coordinate cleanup with the locking mechanism from WT-15329
      • Ensure atomic removal to prevent race conditions
      • Consider if removal should happen immediately or be deferred
      • Handle error cases where partial cleanup might occur

       

            Assignee:
            Linh Tran
            Reporter:
            Linh Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: