You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Andrey Mashenkov <an...@gmail.com> on 2018/02/01 11:27:07 UTC

Re: CacheStore example for partitioned cache backed with a postgres database

Pim,

Why you set WAL disabled? Do you use native ignite persistence together
with CacheStore?
If so, it is not supported, either native persistence or CacheStore should
be used, but not both.



On Sat, Jan 20, 2018 at 7:34 PM, Pim D <pi...@ns.nl> wrote:

> Hi,
>
> I can't seem to find a good example on how to implement a CacheStoreAdapter
> that also writes cache updates to a postgres database.
>
> I've tried the standaard CacheJdbcStoreFactory, yet it does not write the
> updates (even with read and write through set to true and WAL disabled).
> I've created my own implementation of de CacheStoreAdapter and load(key) is
> being called (and working), but Ignite does not call the write nor the
> delete actions of the store.
>
> I've been looking at the cassandra example, but that one is way more
> complex
> and seems to require a lot more than I need (and thus adds even more
> complexity).
>
> Many thanks in advance,
> Pim
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 
Best regards,
Andrey V. Mashenkov