[infinispan-issues] [JBoss JIRA] (ISPN-2647) ReplaceCommand does not perform any modifications if the entry was not yet transfered during rehashing

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Jan 30 10:53:51 EST 2013


    [ https://issues.jboss.org/browse/ISPN-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751409#comment-12751409 ] 

RH Bugzilla Integration commented on ISPN-2647:
-----------------------------------------------

Michal Linhard <mlinhard at redhat.com> made a comment on [bug 902462|https://bugzilla.redhat.com/show_bug.cgi?id=902462]

The MultiServerTest I wrote for REST Server
https://github.com/mlinhard/infinispan/commit/42dc7788715f5bad000940f4eb2736cf50c38271

and the code path is still the same:
https://github.com/infinispan/infinispan/blob/master/server/rest/src/main/scala/org/infinispan/rest/Server.scala#L189
- the entry doesn't get replaced => therefore the HttpServletResponse.SC_PRECONDITION_FAILED (ERROR 412)

I still don't see inside the replace command though and can't tell whether this has anything to do with ISPN-2467.
                
> ReplaceCommand does not perform any modifications if the entry was not yet transfered during rehashing
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-2647
>                 URL: https://issues.jboss.org/browse/ISPN-2647
>             Project: Infinispan
>          Issue Type: Bug
>          Components: State transfer
>    Affects Versions: 5.2.0.Beta5
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>            Priority: Blocker
>             Fix For: 5.2.0.CR3
>
>
> The local data container does not have the entry yet so the ReplaceCommand fails. See BaseDistStateTransferConsistencyTest.testReplace() and BaseReplStateTransferConsistencyTest.testReplace().

--
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