ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Always write to local node for partitioned cache?
Date Thu, 29 Oct 2015 05:36:37 GMT
On Wed, Oct 28, 2015 at 2:51 PM, kevin <kevin.chan@leonardo.com> wrote:

> I guess I don't care about the key in this case (as long as I can get
> something unique). I'll look into Affinity. Thanks
>

I this case, you can simply try random or iterative keys in the loop until
you find one that belongs to the local node. Should be a pretty quick
iteration.


>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Always-write-to-local-node-for-partitioned-cache-tp1749p1752.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message