Gary Tully created ARTEMIS-3823:
-----------------------------------
Summary: 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: Improvement
Components: balancer
Affects Versions: 2.22.0
Reporter: Gary Tully
Assignee: Gary Tully
Fix For: 2.23.0
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)