Hello!

I think you could use ContinuousQuery
<https://apacheignite.readme.io/docs/continuous-queries> (with initial
query) to copy all data from cache in one cluster to cache in another
cluster.
It will also take care of the situation where cache on node1 is changed
while it is being copied.
If that is not a concern, a simple ScanQuery
<https://apacheignite.readme.io/docs/cache-queries#scan-queries> will do.


As for signalling client when it is appropriate to read cache from node2,
you could use CountDownLatch. Just always await() it in client, and on
server countDown() it once all data is copied.

Regards,
Ilya.

-- 
Ilya Kasnacheev

2018-07-16 16:42 GMT+03:00 monstereo <[email protected]>:

> OMG!!!
>
> Yep, If there are belonging to different cluster, there is  way to copy
> caches data? Especially I am looking for ignite features.
> Now one cluster has 10000 datas
> I will copy these datas to another cluster
>
>
> Sorry man, I forget to write this.
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to