ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kukushkin <kukushkinale...@gmail.com>
Subject Re: When cache node switch between primary and backup any notification be received?
Date Mon, 11 Sep 2017 12:33:37 GMT

Unless you customize affinity function there are always 1024 partitions and
every node holds one or more primary partitions evenly distributed among
the nodes. The affinity function tries to minimize re-partitioning as
topology changes. Just want to confirm - are you really looking for an
event like "node 4 is no longer primary for partition 367" ? I feel like
you might be looking for nodes with no primary partitions at all but that
should not happen with default affinity settings.

On Mon, Sep 11, 2017 at 2:54 PM, aaron@tophold.com <aaron@tophold.com>

> Hi All,
> When the topology cluster change, possible a backup cache become primary.
> Is there any notification to tell this node, said you are the primary now
> -- if my cache in REPLICATION mode.
> Maybe other part logic do some preparation stuff related with business.
> Regards
> Aaron
> ------------------------------
> aaron@tophold.com

Best regards,

View raw message