[infinispan-issues] [JBoss JIRA] (ISPN-3184) The DELTA_WRITE flag should force a remote get during state transfer
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Wed Jun 5 07:33:55 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779460#comment-12779460 ]
Dan Berindei commented on ISPN-3184:
------------------------------------
Actually, FineGrainedAtomicHashMap uses ApplyDeltaCommand, that must force a remote get as well.
> The DELTA_WRITE flag should force a remote get during state transfer
> --------------------------------------------------------------------
>
> Key: ISPN-3184
> URL: https://issues.jboss.org/browse/ISPN-3184
> Project: Infinispan
> Issue Type: Bug
> Reporter: Dan Berindei
> Assignee: Dan Berindei
>
> AtomicHashMap and FineGrainedAtomicHashMap, as well as custom DeltaAware implementations, use PutKeyValueCommands with the DELTA_WRITE flag to execute incremental updates. These commands need the previous value of the entry in order to work.
> If a node is joining and it receives a PutKeyValueCommand with the DELTA_WRITE flag before it has received the value of the affected key, it should do a remote get to retrieve the previous value and apply the change on top of that value, just like we do for conditional commands. Not doing so leads to data loss.
--
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