[infinispan-issues] [JBoss JIRA] (ISPN-4426) Transaction replayed but not committed

Radim Vansa (JIRA) issues at jboss.org
Fri Jun 20 11:36:24 EDT 2014


Radim Vansa created ISPN-4426:
---------------------------------

             Summary: Transaction replayed but not committed
                 Key: ISPN-4426
                 URL: https://issues.jboss.org/browse/ISPN-4426
             Project: Infinispan
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: State Transfer
    Affects Versions: 7.0.0.Alpha4
            Reporter: Radim Vansa
            Assignee: Dan Berindei
            Priority: Critical


Dist TX cache, node C is joining. In previous topology, entry is owned by A (primary) and B (backup). In new topology, primary ownership is transferred to C, B stays backup.

1. TX is prepared in old topology and is being committed, when topology changes
2. on C (the new owner), the TX info is received and later even the old entry
3. C receives the CommitCommand, therefore, it correctly replays the PrepareCommand.
4. When the entries are about to be committed, in TxInterceptor the transaction is found to be already completed as it has lower TxID.

Result: the transaction is not being executed and stale data stay on the node (with my algortihm it eventually led to complete entry loss).



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list