Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9271

Clustered max idle doesn't remove expired entries on get with transactions

    Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Expiration, Transactions
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                william.burns Will Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: