[infinispan-issues] [JBoss JIRA] (ISPN-11079) Cluster Expiration and Optimistic Transactions write skew issues
Will Burns (Jira)
issues at jboss.org
Thu Dec 12 15:42:00 EST 2019
[ https://issues.redhat.com/browse/ISPN-11079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Will Burns reassigned ISPN-11079:
---------------------------------
Assignee: Will Burns
> Cluster Expiration and Optimistic Transactions write skew issues
> ----------------------------------------------------------------
>
> Key: ISPN-11079
> URL: https://issues.redhat.com/browse/ISPN-11079
> Project: Infinispan
> Issue Type: Bug
> Components: Expiration
> Reporter: Will Burns
> Assignee: Will Burns
> Priority: Major
> Fix For: 10.1.0.Final, 11.0.0.Final
>
>
> Optimistic write skew and clustered expiration can have some weird issues
> One such is:
> The issue is the following:
> 1. RemoveExpiredCommand reads the expired from the container with version 1 and puts in its context
> 2. PutKeyValueCommand sees nothing in container due to expired and adds a new entry with version 1 in its context
> 3. Put gets the lock and replaces the value
> 4. RemoveExpiredCommand attempts to run and because it saw the old value the lifespans still match (if different)
> 5. Then the write skew passes for the remove expired command since the value in container and its context both have version 1
> To workaround this for now we should prevent a get of an expired entry from returning early when using optimistic transactions.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list