Hi, A single scattered cluster across two distant data centers is a tricky thing that leads to higher latencies and corner cases you're asking about.
As a general recommendation, each data center needs to have its own cluster. The nodes of those two different clusters (belonging to the different data centers) don't see each other. You connect your applications to a data center you need. To replicate changes between the two independent clusters, you can use GridGain Data Center Replication, Kafka or something like that. - Denis On Wed, Jul 22, 2020 at 12:52 AM R S S Aditya Harish < aditya.har...@zohocorp.com> wrote: > Hi Alex, I've an important question to ask. Can you please answer this. > > Let us say I've two server nodes in one data center DC1 and two more > server nodes in another data center DC2. Two data centers have some network > delay. > > > Now I'm using SQL select statements on caches which are replicated. Now > those caches' write synchronization mode is FULL_SYNC. > > Now at a time we have working clients nodes only in one DC but not both. > Let's say we have two clients in DC1. > > So total nodes in DC1 is 6 (2 client nodes and 2 server nodes in DC1 and 2 > server nodes). > > Our use case is such a way that.. > > 1. 2 clients should query only 2 server nodes in DC1 and not the other 2 > servers in DC2. > 2. All the cache queries should be in FULL_SYNC with 2 server nodes in DC1 > and DC1-DC2 should be done in ASYNC mode. > 3. A doubt I got which is, if in client's node discoveryspi, if I (X,Y) ip > list as server nodes ips, would the queries always reach X,Y even though > the entire topology contains X,Y,Z as server nodes? > > Please someone provide us the solution for this. > >