Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1275

ConsistentHash implementation producing same hash id for two different cluster nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Blocker Blocker
    • 6.0.0.Final
    • 5.0.0.FINAL
    • Core

      While working on ISPN-1273, I've discovered that when virtual nodes are enabled, ConsistentHash.getHashIds(address) can return the same hash for two different cluster nodes. Example: with 500 virtual nodes, both NodeA-23181 and NodeB-39177 produce hash id 5289. See attached log.

      Virtual nodes make the problem more apparent, however the problem exists regardless of vnodes being used.

        1. hashids.log
          6 kB
          Galder Zamarreño

              manik_jira Manik Surtani (Inactive)
              rh-ee-galder Galder Zamarreño
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: