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

Radim Vansa (JIRA) issues at jboss.org
Wed Oct 26 09:06:00 EDT 2016


Radim Vansa created ISPN-7140:
---------------------------------

             Summary: 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
         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.2.2#72004)


More information about the infinispan-issues mailing list