Bug 1031985 - Multicast messages can be replayed to new node
Summary: Multicast messages can be replayed to new node
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ER1
: 6.3.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
Depends On:
Blocks: 1092056
TreeView+ depends on / blocked
Reported: 2013-11-19 10:11 UTC by Radim Vansa
Modified: 2015-01-26 14:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-01-26 14:05:50 UTC
Type: Bug

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3731 0 Critical Resolved Multicast messages can be replayed to new node 2017-01-12 09:18:38 UTC

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).

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