ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kobe <...@mailcity.com>
Subject Re: Immediate flush of cache into backing store
Date Thu, 11 Feb 2016 21:14:51 GMT
Sorry, I see a FileSystemConfiguration defaultMode property:

        fs.setDefaultMode(IgfsMode.DUAL_SYNC);

What is the default value of this setting?

Thanks!

/Kobe


Kobe wrote
> Val,
> 
> I assume you are referring to CacheWriteSynchronizationMode? I do not see
> the
> mode DUAL_ASYNC. I see only FULL_ASYNC, FULL_SYNC and PRIMARY_ASYNC.
> 
> AM I missing something?
> 
> 
>  
*
>        CacheConfiguration datacache = new CacheConfiguration ();
>         datacache.setName("igfs-data");
>         datacache.setCacheMode(CacheMode.REPLICATED);
>         datacache.setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL);
>        
> datacache.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC);
>         datacache.setBackups(0);
>         datacache.setAffinityMapper( new IgfsGroupDataBlocksKeyMapper
> (512));
*
> 
> /Kobe
> vkulichenko wrote
>> Hi Kobe,
>> 
>> It sounds like you're using DUAL_ASYNC IGFS mode, is this the case? To
>> update the secondary file system synchronously, simply switch to
>> DUAL_SYNC in the configuration. Is this what you're looking for?
>> 
>> -Val





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Immediate-flush-of-cache-into-backing-store-tp2942p2967.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message