0
votes

I am running Apache Ignite in "REPLICATED MODE" with two server nodes up and running.
The Cache is in "PRIMARY_SYNC" write mode, with "ATOMIC" atomicity and number of backups being "0".

From the Client, I am making requests via TcpDiscoveryVmIpFinder and I configured those two server addresses in the IP finder list.

I got a question that in practice, while replication is happening between two nodes say from X -> Y, some data is being copied, and Y doesn't have the latest records.
Let's say a request lands on "Y" from the client. Will that be actually served from "Y"? Because "Y" has stale data. I want to understand how this works.
And I worry because I gave write mode as only "primary sync" and there could be asynchronous data updates between X-Y.

1

1 Answers

0
votes

By default, for key-value API, readFromBackups setting is false and you will read the latest value. SQL will read whatever is present on node.