[infinispan-issues] [JBoss JIRA] (ISPN-7140) Concurrent modifications succeed in pessimistic cache

Dan Berindei (JIRA) issues at jboss.org
Tue Jul 24 04:20:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-7140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-7140:
-------------------------------
    Status: Open  (was: Pull Request Sent)


> Concurrent modifications succeed in pessimistic cache
> -----------------------------------------------------
>
>                 Key: ISPN-7140
>                 URL: https://issues.jboss.org/browse/ISPN-7140
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.0.0.Alpha4
>            Reporter: Radim Vansa
>            Assignee: Pedro Ruivo
>              Labels: consistency, testsuite_stability
>         Attachments: log2.txt
>
>
> During node crash, two concurrent modifications in can both succeed in pessimistic tx cache.
> This also causes random failures in {{InfinispanNodeFailureTest}}:
> 1. TX1 originating on A acquires lock for key X, A is primary owner
> 2. C is killed and B becomes primary owner of key X
> 3. TX2 originating on B acquires lock for key X, B is now primary owner
> 4. TX1 commits the tx, Prepare is sent with the new topology id so it commits fine
> 5. TX2 also commits the transaction
> Log attached (this is not master but changes should not be related).



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list