ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tolga HOŞGÖR <fasdfas...@gmail.com>
Subject Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings
Date Thu, 13 Apr 2017 10:11:12 GMT
I am trying to create an ACTIVE/PASSIVE redundant environment, passive node
being the vanilla .sh node. I would like to have control on what node is
appointed as primary.

According to what you are saying, for a moment I have to have only one node
(that being C++ node) online for it to be primary node at switchover. I
would like to avoid that because if a crash happens at that time, the data
will be lost.

Is there a tutorial on writing a plugin in ./libs folder that defines a
custom affinity function and configuring it? There is also the matter of
identifying the C++ node.

On Thu, Apr 13, 2017, 12:32 PM vkulichenko <valentin.kulichenko@gmail.com>
wrote:

> Hi,
>
> There is no way to do this unless you implement your own affinity function.
> Out of the box you can control whether a particular node can be used as a
> partition backup having primary node for this partition already assigned.
>
> What is the purpose of such deployment? What are you trying to achieve with
> this?
>
> -Val
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/How-do-I-provide-AffinityFunction-BackupFilter-when-mainly-using-C-bindings-tp11930p11938.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message