[
https://jira.jboss.org/jira/browse/ISPN-232?page=com.atlassian.jira.plugi...
]
Manik Surtani updated ISPN-232:
-------------------------------
Summary: Add service to generate a key that would map to the current instance
(was: add service to provide key that would map to the same (Specified) node)
Fix Version/s: 4.1.0.BETA1
4.1.0.GA
Assignee: Mircea Markus (was: Manik Surtani)
Add service to generate a key that would map to the current instance
--------------------------------------------------------------------
Key: ISPN-232
URL:
https://jira.jboss.org/jira/browse/ISPN-232
Project: Infinispan
Issue Type: Feature Request
Reporter: Mircea Markus
Assignee: Mircea Markus
Fix For: 4.1.0.BETA1, 4.1.0.GA
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.
-----------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira