Radim Vansa created ISPN-3600:
---------------------------------
Summary: ignorePreviousValue should not be set on non-origin nodes
Key: ISPN-3600
URL:
https://issues.jboss.org/browse/ISPN-3600
Project: Infinispan
Issue Type: Bug
Components: State transfer, Transactions
Affects Versions: 6.0.0.CR1
Reporter: Radim Vansa
Assignee: Mircea Markus
Priority: Critical
In {{TxDistributionInterceptor.visit(Replace|Remove)Command}} the ignorePreviousValue flag
is set to false on nodes which are not executing the transaction. Usually this does not
matter, but when some other node requests transactions from this node (during ST), the
Remove and Replace commands are sent with this flag set to false, which results in
skipping their execution.
Note: the overall behaviour with ignoring the command when this flag is false and origin
is not local seems to me as abusing it - the semantics of the command is far from obvious.
When the non-origin node receives the exact command that is executed on the original node
(without ignorePreviousValue set to true), it simply ignores it.
--
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