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

Bela Ban (JIRA) issues at jboss.org
Tue May 26 11:33:03 EDT 2015


Bela Ban created JGRP-1930:
------------------------------

             Summary: 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