Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6668

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

XMLWordPrintable

      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.

              gtully@redhat.com Gary Tully
              rh-messaging-ci Messaging CI
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: