On 12-10-23 12:56 PM, Mircea Markus wrote:

On 23 Oct 2012, at 17:54, Manik Surtani wrote:


On 23 Oct 2012, at 17:17, Vladimir Blagojevic <vblagoje@redhat.com> wrote:

On 12-10-23 11:40 AM, Mircea Markus wrote:

The main reason for passing the keys is in order to calculate the
locality of the task based on consistent hash. We don't have a
reference to the consistent hash in the DistributedTaskFailoverPolicy,
so not sure this would be useful as it is.

You are right Mircea. But we can put CH in FailoverContext if needed :-)

And make CH a part of the public API?:/
It is reachable through the advancedCache.

Right, if someone is writing a custom failover policy and he is looking to place jobs where the input keys are local he is no stranger to CH :-)

Cheers,
Vladimir