The configuration for the WT_SESSION::commit_transaction() and WT_SESSION::rollback_transaction() methods will be modified to include a new option, cache_max_wait_us. Using this flag in any other API calls will result in an error. By default, this option will be set to 0, allowing commit and rollback operations to be involved in optional cache eviction. When configured to 1, the commit and rollback operations will be explicitly prevented from participating in optional cache eviction. Once the feature flag is enabled, transaction commit and rollback operations in the server for
- expired multi-document transactions, and
- Committing or aborting prepared transactions (
SERVER-65106)
will be configured with cache_max_wait_us=1 as these operations cannot be blocked.
- depends on
-
WT-13975 Investigate whether transaction rollback may require eviction
-
- Closed
-
- is depended on by
-
SERVER-98113 Avoiding cache eviction work during transaction commit and rollback
-
- Blocked
-