[jboss-jira] [JBoss JIRA] (JGRP-1930) RELAY2: SiteUUID and regular UUID are bundled by TransferQueueBundler

Bela Ban (JIRA) issues at jboss.org
Thu May 28 06:27:02 EDT 2015


     [ https://issues.jboss.org/browse/JGRP-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1930.
----------------------------
    Resolution: Done


> 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