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

Add service to generate a key that would map to the current instance

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Blocker
    • 4.1.0.BETA2, 4.1.0.Final
    • 4.0.0.Final, 4.1.0.BETA1
    • None
    • None

    Description

      background: in order to obtain a hashcode that maps to the current node, the way to go is to generate random keys and pass them to the hashing algorithm until the hash for one of them will match the node. This JIRA is about creating an async service to do that, so that the calling thread won't be blocked while this happens.

      -------------------- from an email discussion

      What about adding a service to asynchronously generate and pool a number
      of ids that map to a certain node (in our use case same node)?

      Advantage would be that the calling thread won't have to wait until we
      determine an appropriate value.

      -----------

      Attachments

        Activity

          People

            mircea.markus Mircea Markus (Inactive)
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: