[infinispan-issues] [JBoss JIRA] (ISPN-3830) Conditional Operation can fail erroneously during ST

Dan Berindei (JIRA) issues at jboss.org
Tue Oct 14 03:02:35 EDT 2014


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

Dan Berindei updated ISPN-3830:
-------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/2949


> Conditional Operation can fail erroneously during ST
> ----------------------------------------------------
>
>                 Key: ISPN-3830
>                 URL: https://issues.jboss.org/browse/ISPN-3830
>             Project: Infinispan
>          Issue Type: Bug
>          Components: State Transfer
>            Reporter: William Burns
>            Assignee: Dan Berindei
>
> Currently the retry logic for commands is to only throw a OutdatedTopologyException when a command is successful.
> This however can have the following issue. 
> k1 owned by N1, N2 
> # N3 updates k1 sending conditional command to N1 
> # N1 receives command and starts running it (passes topology block)
> # ST occurs causing N1 to no longer be an owner and removes k1 from it's data container.
> # N1 runs optional command and it fails and thus doesn't throw OutdatedTopologyException
> # N3 gets response that command failed, but it could have worked had it gone to a real owner.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list