Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-04-12 Thread Rishi Yagnik
gt; >> > > > > >> > > > > >> > > > > >> > Hi Rishi, > > > >> > > > > >> > > > > >> > > > > >> > Can you please assign the ticket to yourself and &g

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-04-12 Thread Valentin Kulichenko
>> > > > > >> as > > >> > > > > >> > described in [1]? > > >> > > > > >> > > > >> > > > > >> >

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-04-12 Thread Rishi Yagnik
>> > > >> > > > > >> > [1] https://cwiki.apache.org/confl > >> uence/display/IGNITE/How+to+ > >> > > > > >> Contribute > >> > > >

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-31 Thread Valentin Kulichenko
t; >> > -Val >> > > > > >> > >> > > > > >> > On Sun, Mar 12, 2017 at 2:04 AM, ignite_dev2017 < >> > > > > rishiyag...@gmail.com> >> > > > > >> > wrote: >> > > > > >> &

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-29 Thread Valentin Kulichenko
> > > > > > > >> > On Sun, Mar 12, 2017 at 2:04 AM, ignite_dev2017 < > > > > > rishiyag...@gmail.com> > > > > > >> > wrote: > > > > > >> > > > > > > >> >> Hi Val, > >

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-28 Thread Rishi Yagnik
> >> >> > > > > >> >> The fix which we applied as follows with SpringCacheManager - > > > > >> >> > > > > >> >> 1) Design was to listen for ignite re connect event > > > > >> >> 2) And clear the cache on reconnec

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-27 Thread Valentin Kulichenko
t; >> >> > > > >> >> 1) Design was to listen for ignite re connect event > > > >> >> 2) And clear the cache on reconnect > > > >> >> > > > >> >> See the following code below and let us know if this is h

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-27 Thread Rishi Yagnik
e below and let us know if this is helpful - > > >> >> > > >> >> In afterPropertiesSet - > > >> >> > > >> >> //Handles the reconnect event, on server crashes OR network > failure, > > >> client > > >> >> connects to se

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-27 Thread Valentin Kulichenko
failure, > >> client > >> >> connects to server and > >> >>// destroy the cache > >> >> IgnitePredicate lsnr = iEvt -> { > >> >>LOGGER.info("Received discovery event [iEvt=" + > iEvt

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-26 Thread Rishi Yagnik
>> >>IgnitePredicate lsnr = iEvt -> { >> >>LOGGER.info("Received discovery event [iEvt=" + iEvt.name() >> + >> >> ", >> >> discovery=" + iEvt.shortDisplay() + ']'); >> >> >> &

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-23 Thread Rishi Yagnik
+ > >> ", > >> discovery=" + iEvt.shortDisplay() + ']'); > >> > >>caches.keySet().forEach(key -> { > >> ignite.destroyCache(key); > >>caches.remove(key); > >>

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-13 Thread Rishi Yagnik
lay() + ']'); >> >>caches.keySet().forEach(key -> { >>ignite.destroyCache(key); >>caches.remove(key); >> } ); >> >> >> >> Let me know if you see any side effects with the fix.

Re: IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-13 Thread Valentin Kulichenko
y=" + iEvt.shortDisplay() + ']'); > > caches.keySet().forEach(key -> { > ignite.destroyCache(key); > caches.remove(key); > } ); > > > > Let me know if you see any side effects with the fix. > > Thanks, >

IGNITE-2766 Spring Cache Manager ReConnect Issue

2017-03-11 Thread ignite_dev2017
caches.keySet().forEach(key -> { ignite.destroyCache(key); caches.remove(key); } ); Let me know if you see any side effects with the fix. Thanks, Rishi -- View this message in context: http://apache-ignite-developers.2346864.n4.nabble.com/IGNITE-2766-