[infinispan-issues] [JBoss JIRA] (ISPN-2647) ReplaceCommand does not perform any modifications if the entry was not yet transfered during rehashing
Michal Linhard (JIRA)
jira-events at lists.jboss.org
Mon Jan 21 13:05:21 EST 2013
[ https://issues.jboss.org/browse/ISPN-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749265#comment-12749265 ]
Michal Linhard commented on ISPN-2647:
--------------------------------------
Hi. I just discovered that this is a blocker for REST server testing.
The problem is causing HTTP status 412 when putting data on existing entry in lots of operations in our performance tests.
The failing point there is the call to replace
https://github.com/infinispan/infinispan/blob/master/server/rest/src/main/scala/org/infinispan/rest/Server.scala#L185
that returns false and that causes HttpServletResponse.SC_PRECONDITION_FAILED (status 412)
This is a testcase I've created for the REST server:
https://github.com/mlinhard/infinispan/commit/42dc7788715f5bad000940f4eb2736cf50c38271
It seems to me that the root cause of this is the bug you're describing here, so I'm not creating a new bug ...
> 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
> Fix For: 5.3.0.Final
>
>
> 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