Bug 1228780 - [GSS](6.4.z) Replication: The DELTA_WRITE flag should force a remote get during state transfer
Summary: [GSS](6.4.z) Replication: The DELTA_WRITE flag should force a remote get duri...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.4
Assignee: Ryan Emerson
QA Contact: Jitka Kozana
URL:
Whiteboard:
Depends On:
Blocks: 1202355 1228783 1235744
TreeView+ depends on / blocked
 
Reported: 2015-06-05 17:21 UTC by dereed
Modified: 2019-07-11 09:19 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 10:46:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5526 0 Critical Resolved Replication: The DELTA_WRITE flag should force a remote get during state transfer 2016-05-17 07:37:11 UTC

Description dereed 2015-06-05 17:21:58 UTC
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.

Comment 1 dereed 2015-06-15 18:24:37 UTC
Test case: org/infinispan/atomic/ReplAtomicMapStateTransferTest

Comment 8 dereed 2015-06-17 15:36:35 UTC
4 commits for this BZ:
    13da8da7206dacf3daf82f3d449e59789e4bec45
    5d7dab4cb154535be7d0d676f306f102950768f7
    dc9bb74029c6f34206cce85ceaa2aa699b76529c
    baed5c6d5c2c9a37b286eac7d7fe141a7a790990

Comment 10 Ivan Straka 2015-09-24 10:29:07 UTC
We do not see org/infinispan/atomic/ReplAtomicMapStateTransferTest failing, verified.

Comment 11 Petr Penicka 2017-01-17 10:46:37 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.