ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vyacheslav Daradur <daradu...@gmail.com>
Subject Re: cache store usability
Date Wed, 02 May 2018 18:31:48 GMT
I agree I have noticed that too.

But we can't just call setWriteThrough(true) if
setWriteBehindEnabled(true) was turned on because in this case
CacheStoryFactory should be properly set before.

Maybe it will be better to print to the log a warning which will
notify the user that setWriteBehindEnabled (true) doesn't have effect
without setWriteThrough(true)?

On Wed, May 2, 2018 at 6:23 PM, Dmitriy Setrakyan <dsetrakyan@apache.org> wrote:
> Igniters,
> This is another usability issue that can be addressed quickly. Apparently,
> setWriteBehindEnabled(true) is not enough to enable CacheStore, the
> setWriteThrough(true) also needs to be enabled.
> https://stackoverflow.com/questions/50118842/write-behind-and-write-through
> Why not make it easier for our users? If there are no objections, I would
> like to fie a ticket to enable the CacheStore if
> setWriteBehindEnabled(true) was turned on.
> D.

Best Regards, Vyacheslav D.

View raw message