Hey here is the full scenario, I hope it will be clear: I have 2 clusters Each cluster has own different cache, let's say in cluster 1, there is cache named "cluster1cache". (We can assume that no cache in cluster 2) And I want to copy these cache to cluster2, but when copying occurs, client should not get interact with cluster2, or cluster2 should say "I'm busy".
Here is the my cluster1 and cluster2 config file. (I can create seperate nodes for each clusterr -I have tested in grid gain console-) cluster1-configuration.xml <http://apache-ignite-users.70518.x6.nabble.com/file/t1901/cluster1-configuration.xml> cluster2-configuration.xml <http://apache-ignite-users.70518.x6.nabble.com/file/t1901/cluster2-configuration.xml> ilya.kasnacheev wrote > Hello! > > I can address the immediate questions that you are having, but I'm afraid > that you will be only getting further away from optimal solution of your > case. > > What is your case? Can you please tell us more about the scenario that you > are trying to implement? > > Regards, > > -- > Ilya Kasnacheev > > 2018-07-16 18:26 GMT+03:00 monstereo < > mehmetozanguven@ > >: > >> I have read the links that you have shared, but there is no information >> about >> different clusters >> >> I have found Ignite native persistence, can it be a solution for my case? >> >> And I have allow to create different cluster in my laptop? >> >> ilya.kasnacheev wrote >> > 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 < >> >> > mehmetozanguven@ >> >> > >: >> > >> >> 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/ >> >> >> >> >> >> >> >> -- >> Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >> -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
