[jboss-jira] [JBoss JIRA] (JGRP-1930) RELAY2: SiteUUID and regular UUID are bundled by TransferQueueBundler
Pedro Ruivo (JIRA)
issues at jboss.org
Wed May 27 13:07:02 EDT 2015
[ https://issues.jboss.org/browse/JGRP-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071672#comment-13071672 ]
Pedro Ruivo commented on JGRP-1930:
-----------------------------------
Pull Request made: https://github.com/belaban/JGroups/pull/213
[~belaban], when you have time, please take a look :)
> 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)
More information about the jboss-jira
mailing list