Re: Re:Re: Re:Re: about write behind problems

2017-07-21 Thread vkulichenko
Can you provide a reproducer? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/about-write-behind-problems-tp15160p15255.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re:Re: Re:Re: about write behind problems

2017-07-20 Thread Lucky
Of cource I did. cacheCfg.setWriteThrough(true); At 2017-07-21 10:38:00, "vkulichenko" wrote: >Did you set the writeThrough property? It's needed to enable write to cache >store, regardless of whether it's write-behind mode or not. > >cacheCfg.setWriteThrough(true); > >-Val > > > >-- >View

Re: Re:Re: about write behind problems

2017-07-20 Thread vkulichenko
Did you set the writeThrough property? It's needed to enable write to cache store, regardless of whether it's write-behind mode or not. cacheCfg.setWriteThrough(true); -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/about-write-behind-problems-tp15160p1521

Re:Re: about write behind problems

2017-07-20 Thread Lucky
Ok, in this case,I did not tell about loading cache. It is about persistent data. I want to insert 50 records into DB. my setting is: cacheCfg.setWriteBehindEnabled(true); cacheCfg.setWriteBehindFlushSize(10240); cacheCfg.setWriteBehindFlushFrequency(1);