[
https://issues.jboss.org/browse/ISPN-5526?page=com.atlassian.jira.plugin....
]
Dennis Reed updated ISPN-5526:
------------------------------
Fix Version/s: (was: 7.0.0.Final)
(was: 6.0.1.Final)
Description:
Same issue as ISPN-3184, but for repl caches in Infinispan 5.2.x.
(ISPN-3184 only fixed dist caches, since repl uses the same code in 5.3+).
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.
was:
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.
Labels: (was: 620 630)
Git Pull Request: (was:
https://github.com/infinispan/infinispan/pull/2272)
Affects Version/s: 5.2.10.Final
(was: 5.3.0.Final)
Does not affect 5.3+ with ISPN-3184.
Replication: The DELTA_WRITE flag should force a remote get during
state transfer
---------------------------------------------------------------------------------
Key: ISPN-5526
URL:
https://issues.jboss.org/browse/ISPN-5526
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.2.10.Final
Reporter: Dennis Reed
Assignee: Dan Berindei
Priority: Critical
Same issue as ISPN-3184, but for repl caches in Infinispan 5.2.x.
(ISPN-3184 only fixed dist caches, since repl uses the same code in 5.3+).
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 was sent by Atlassian JIRA
(v6.3.15#6346)