You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by ApacheUser <bh...@gmail.com> on 2018/11/08 18:53:09 UTC

what is Ignite Default atomicityMode

Hi Team

Apache Ignite atomicityMode is "ATOMIC" by default  or do we need to
explictly include in defaul-config.xml? Pleae advise.

<property name="atomicityMode" value="ATOMIC"/>


Thanks



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: what is Ignite Default atomicityMode

Posted by ApacheUser <bh...@gmail.com>.
Thanks Andrei,



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: what is Ignite Default atomicityMode

Posted by aealexsandrov <ae...@gmail.com>.
Hi,

Yes, default atomicity mode is ATOMIC. Next code used by Ignite to set the
atomicityMode

initializeConfigDefaults method used for default config. It contains:

        if (cfg.getAtomicityMode() == null)
           
cfg.setAtomicityMode(CacheConfiguration.DFLT_CACHE_ATOMICITY_MODE);

So you can ignore this option in case if you need ATOMIC.

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/