You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2022/05/18 15:21:00 UTC
[jira] [Updated] (ARTEMIS-3823) Connection router - consistent hash modulo needs to deal with negative hash values
[ https://issues.apache.org/jira/browse/ARTEMIS-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Tully updated ARTEMIS-3823:
--------------------------------
Issue Type: Bug (was: Improvement)
> Connection router - consistent hash modulo needs to deal with negative hash values
> ----------------------------------------------------------------------------------
>
> Key: ARTEMIS-3823
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3823
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: balancer
> Affects Versions: 2.22.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Major
> Fix For: 2.23.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The connection router consistent hash modulo key transformer does not work well if the hash produced a negative value.
> It makes matching more difficult to configure b/c both -1 and 1 need to be matched for a broker ordinal 1.
>
> it would be better if the modulo was confined to positive numbers, rather than the signed remainder.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)