[infinispan-issues] [JBoss JIRA] (ISPN-2510) PrepareCommands should fail on nodes where the cache is not running

Mircea Markus (JIRA) jira-events at lists.jboss.org
Tue Feb 5 10:38:51 EST 2013


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

Mircea Markus updated ISPN-2510:
--------------------------------

    Fix Version/s: 5.2.1

    
> PrepareCommands should fail on nodes where the cache is not running
> -------------------------------------------------------------------
>
>                 Key: ISPN-2510
>                 URL: https://issues.jboss.org/browse/ISPN-2510
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Distributed Cache, RPC
>    Affects Versions: 5.2.0.Beta3
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.2.1, 5.3.0.Final
>
>
> When the user stops a cache without stopping the cache manager on that node, subsequent PrepareCommands sent to that node will return a {{SuccessfulResponse}}. 
> If that node used to the primary owner of the command's modified key, the originator will proceed with the transaction as if it had acquired a lock on that key. It is thus possible for multiple transactions to think they have acquired the key lock at the same time.
> On the other hand, in replicated caches is is quite possible that a cache is not running on all the cluster node and yet PrepareCommands are broadcasted to everyone in parallel. So the solution should not involve sending exceptions (which have huge stack traces), and the originator should be able to ignore failures responses from nodes that were not targeted in the first place.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list