[
https://issues.jboss.org/browse/JGRP-1930?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-1930:
--------------------------------
Log from Pedro:
{noformat}
13:43:05,762 TRACE [org.jgroups.protocols.UDP] (Incoming-3,shared=udp) null: sending msg
to node-2/PRIMARY:PRIMARY, src=node-1/PRIMARY:PRIMARY, headers are RELAY2:
SITE_UNREACHABLE [de
st=SiteMaster(DR), sender=null], UNICAST3: DATA, seqno=8075, conn_id=1, UDP:
[cluster_name=clustered]
13:43:05,762 TRACE [org.jgroups.protocols.UDP] (Incoming-3,shared=udp) null: sending msg
to node-2/PRIMARY:PRIMARY, src=node-1/PRIMARY:PRIMARY, headers are RELAY2:
SITE_UNREACHABLE [de
st=SiteMaster(DR), sender=null], UNICAST3: DATA, seqno=8076, conn_id=1, UDP:
[cluster_name=clustered]
13:43:05,762 TRACE [org.jgroups.protocols.UDP] (HotRodServerWorker-5) null: sending msg to
node-2/PRIMARY, src=node-1/PRIMARY, headers are RequestCorrelator: id=200, type=REQ,
id=8200, rsp_expected=true, UNICAST3: DATA, seqno=8077, conn_id=1, UDP:
[cluster_name=clustered]
13:43:05,762 TRACE [org.jgroups.protocols.UDP] (TransferQueueBundler,shared=udp) null:
sending 1 msgs (171 bytes (0.27 of max_bundle_size) to 1 dests(s):
[clustered:node-2/PRIMARY:PRIMARY]
13:43:05,764 TRACE [org.jgroups.protocols.UDP] (remote-thread-0) null: sending msg to
node-2/PRIMARY, src=node-1/PRIMARY, headers are RequestCorrelator: id=200, type=RSP,
id=7799, rsp_expected=false, UNICAST3: DATA, seqno=8078, conn_id=1, UDP:
[cluster_name=clustered]
13:43:05,764 TRACE [org.jgroups.protocols.UDP] (TransferQueueBundler,shared=udp) null:
sending 3 msgs (998 bytes (1.56 of max_bundle_size) to 1 dests(s):
[clustered:node-2/PRIMARY:PRIMARY]
13:43:05,765 TRACE [org.jgroups.protocols.UDP] (remote-thread-0) null: sending msg to
node-2/PRIMARY, src=node-1/PRIMARY, headers are RequestCorrelator: id=200, type=RSP,
id=7800, rsp_expected=false, UNICAST3: DATA, seqno=8079, conn_id=1, UDP:
[cluster_name=clustered]
13:43:05,766 TRACE [org.jgroups.protocols.UDP] (TransferQueueBundler,shared=udp) null:
sending 1 msgs (84 bytes (0.13 of max_bundle_size) to 1 dests(s):
[clustered:node-2/PRIMARY]
{noformat}
RELAY2: SiteUUID and regular UUID are bundled by
TransferQueueBundler
---------------------------------------------------------------------
Key: JGRP-1930
URL:
https://issues.jboss.org/browse/JGRP-1930
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.6.4
{{SiteUUID}} extends {{UUID}} but doesn't override {{equals()}} and {{hashCode()}}.
This means instances of them are the same.
When {{TransferQueueBundler}} (or any other bundler) receives messages (at the same time)
to destinations {{X}} and {{SiteUUID("name", X)}}, then they get sent in the
same bundle, which is incorrect.
SOLUTION: add {{equals()}} and {{hashCode()}} to {{SiteUUID}}; include the name.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)