Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-98113

Avoid cache eviction work during transaction rollback for operations that can't block

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

      The configuration for the WT_SESSION::rollback_transaction() method will be modified to include a new option, skip_cache_eviction. Using this flag in any other API calls will result in an error. By default, this option will be set to 0, allowing rollback operations to be involved in cache eviction. When configured to 1, the rollback operation will be explicitly prevented from participating in cache eviction under any circumstances. Once the feature flag is enabled, transaction rollback operations in the server for

      1. expired multi-document transactions, and
      2. aborting prepared transactions

       will be configured with skip_cache_eviction=1 as these operations cannot be blocked.

            Assignee:
            Unassigned Unassigned
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: