You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/10 08:02:00 UTC

[jira] [Work logged] (ARTEMIS-3823) Connection router - consistent hash modulo needs to deal with negative hash values

     [ https://issues.apache.org/jira/browse/ARTEMIS-3823?focusedWorklogId=768349&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-768349 ]

ASF GitHub Bot logged work on ARTEMIS-3823:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/May/22 08:01
            Start Date: 10/May/22 08:01
    Worklog Time Spent: 10m 
      Work Description: brusdev merged PR #4070:
URL: https://github.com/apache/activemq-artemis/pull/4070




Issue Time Tracking
-------------------

            Worklog Id:     (was: 768349)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            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)