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

ConsistentHash implementation producing same hash id for two different cluster nodes

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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.

              manik_jira Manik Surtani (Inactive)
              rh-ee-galder Galder Zamarreño
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: