]
William Burns updated ISPN-9271:
--------------------------------
Status: Open (was: New)
Clustered max idle doesn't remove expired entries on get with
transactions
--------------------------------------------------------------------------
Key: ISPN-9271
URL:
https://issues.jboss.org/browse/ISPN-9271
Project: Infinispan
Issue Type: Enhancement
Components: Expiration, Transactions
Reporter: William Burns
Currently clustered max idle does not remove any expired entry on a get when transactions
are configured. This is due to limitations with pessimistic transactions and deadlocking.
We should be able to remove the entry with optimistic transactions.
Pessimistic is more interesting as we can't wait for the remove expired command to
complete in a separate transaction as it would inherently deadlock. Instead we could
ascertain that the entry is expired as we do now, but also fire a remove expired
completely asynchronously and not wait for it to complete.