Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3823

Connection router - consistent hash modulo needs to deal with negative hash values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.22.0
    • 2.23.0
    • Balancer
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m