Thanks Alexy,
This is definitely helpful!

------------------ 原始邮件 ------------------
发件人: alexey.goncharuk [via Apache Ignite Users] 
<[email protected]>
发送时间: 2016年4月25日 01:27
收件人: ttthree <[email protected]>
主题: Re: How to configure cache backup copies distributed into differentfault 
domain



 Hi,

You can achieve this behavior by setting a backup filter to 
RendezvousAffinityFunction or FairAffinityFunction (e.g. see 
org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction#setBackupFilter).
 This filter is a predicate that accepts the assigned primary node and a 
potential candidate for a backup node. You only need to add a rack ID to your 
node attribute and check this attribute in the backup filter.


Hope this helps,
Alexey

 
 
 
  If you reply to this email, your message will be added to the discussion 
below:
 
http://apache-ignite-users.70518.x6.nabble.com/How-to-configure-cache-backup-copies-distributed-into-different-fault-domain-tp4482p4483.html
 
  To unsubscribe from How to configure cache backup copies distributed into 
different fault domain, click here.
 NAML



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-configure-cache-backup-copies-distributed-into-differentfault-domain-tp4484.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to