Bug 1031985

Summary: Multicast messages can be replayed to new node
Product: [JBoss] JBoss Data Grid 6 Reporter: Radim Vansa <rvansa>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: jdg-bugs
Target Milestone: ER1   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 14:05:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1092056    

Description Radim Vansa 2013-11-19 10:11:04 UTC
Messages that target all current members are sent as multicast messages.
However, these retransmissions can be replayed on new nodes that have just joined the cluster.
This can result for example in execution of already completed transaction on the new node, causing possible data inconsistency for those entries which are owned by the new node in backup way - the replayed transaction sequence authoritatively overwrites them.

The node should remember the first topologyId it has seen and do not execute any commands that have lower topologyId.

Comment 1 JBoss JIRA Server 2013-11-19 10:15:41 UTC
Dan Berindei <dberinde> made a comment on jira ISPN-3731

Before my fix for ISPN-3670, commands received before the initial topology used to be ignored. Of course, this caused other problems, because some commands shouldn't be ignored (the ones that were sent explicitly to the joiner, because some nodes already see it as a member of the write CH).