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.kuliche...@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. >