Re: two data region with two nodes

2018-08-10 Thread wangsan
I just want A module: node a1 a2 make cache cache_a be persistence and balance in A module only with persistence region p_region B module node b1,b2 with cache cache_b be non_persistence and distribute in B module.B will access cache_a and have same region p_region for persistence even cache_b

Re: two data region with two nodes

2018-08-08 Thread wangsan
tks, I will try the oldest node select method to ensure only one node to process the event message. As mentioned earlier, in my project ,I have several modules。eg: module A , daemon node with cache nodecache,machinecache .all the cache persistent。 module B, search node with cache

Re: two data region with two nodes

2018-08-02 Thread Denis Mekhanikov
I don't think, that data region configuration causes these problems. What makes you think so? Try removing the event listeners and see, if these steps lead to the same problem. What kind of lock do you use? Is it *IgniteCache.lock()*, or *Ignite.reentrantLock()*? Anyways, I would get rid of

Re: two data region with two nodes

2018-08-01 Thread wangsan
Thank you for your answer, Maybe I use region config the wrong way. There are two apps(more apps with different roles) with different ignite configs, first App :set default region with persistence enable :set cache a,with nodefilter in first apps,default region second app :set

Re: two data region with two nodes

2018-07-31 Thread Denis Mekhanikov
It may happen for different reasons. The most common is a transaction deadlock. Do you observe it every time you perform these actions, or it only happens occasionally? Could you attach logs from all nodes? Please use the file attachment. Denis On Sun, Jul 29, 2018, 06:47 wangsan wrote: > I