You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by c c <ye...@gmail.com> on 2019/10/28 08:31:22 UTC

Is there any way to make sure data and its backups in different data center

HI, we are working on ignite v2.7.0 . We plan to deploy 5 server nodes
across two data center (three in one data center and two in the other). We
setup 2 backups for each entry, so we have three copies data for each
entry. How can we make sure there is at least one copy in both data center?

Regards

Re: Is there any way to make sure data and its backups in different data center

Posted by c c <ye...@gmail.com>.
Thank you very much!

Alex Plehanov <pl...@gmail.com> 于2019年10月28日周一 下午8:59写道:

> Hello,
>
> You can set custom affinityBackupFilter in RendezvousAffinityFunction. See
> [1] for example.
>
> [1] :
> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/affinity/rendezvous/ClusterNodeAttributeAffinityBackupFilter.html
>
>
> пн, 28 окт. 2019 г. в 11:31, c c <ye...@gmail.com>:
>
>> HI, we are working on ignite v2.7.0 . We plan to deploy 5 server nodes
>> across two data center (three in one data center and two in the other). We
>> setup 2 backups for each entry, so we have three copies data for each
>> entry. How can we make sure there is at least one copy in both data center?
>>
>> Regards
>>
>>

Re: Is there any way to make sure data and its backups in different data center

Posted by Alex Plehanov <pl...@gmail.com>.
Hello,

You can set custom affinityBackupFilter in RendezvousAffinityFunction. See
[1] for example.

[1] :
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/affinity/rendezvous/ClusterNodeAttributeAffinityBackupFilter.html


пн, 28 окт. 2019 г. в 11:31, c c <ye...@gmail.com>:

> HI, we are working on ignite v2.7.0 . We plan to deploy 5 server nodes
> across two data center (three in one data center and two in the other). We
> setup 2 backups for each entry, so we have three copies data for each
> entry. How can we make sure there is at least one copy in both data center?
>
> Regards
>
>