You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Semyon Boikov <sb...@gridgain.com> on 2017/06/13 08:06:22 UTC

Persistence enabled for all caches

Hi guys,

As I understand, currently by design, if I set
IgniteConfiguration.persistentStoreConfiguration then persistence is
automatically enabled for ALL caches. Don't you think it can be useful to
have possibility to configure persistence per cache?

Thanks!

Re: Persistence enabled for all caches

Posted by Dmitriy Setrakyan <d...@gridgain.com>.
Sergey, the case you describe should fail with an error. I think I would
want users to delete the persistence store for that cache manually before
restarting, if they want to disable the persistence.

On Thu, Jun 15, 2017 at 3:24 AM, Sergey Kozlov <sk...@gridgain.com> wrote:

> I agree and would note that we need to investigate more various corner
> cases like user has cache with PS , then stop grid, switch in memory and
> start again. Is there a chance to load data (if it can place in memory).
> Also would be interesting to switch mode runtime.
>
> On Tue, Jun 13, 2017 at 12:38 PM, Dmitriy Setrakyan <dsetrakyan@apache.org
> >
> wrote:
>
> > +1
> >
> > On Tue, Jun 13, 2017 at 1:13 AM, Yakov Zhdanov <yz...@apache.org>
> > wrote:
> >
> > > Sam,
> > >
> > > Absolutely agree. Good catch!
> > >
> > > --Yakov
> > >
> >
>
>
>
> --
> Sergey Kozlov
> GridGain Systems
> www.gridgain.com
>

Re: Persistence enabled for all caches

Posted by Sergey Kozlov <sk...@gridgain.com>.
I agree and would note that we need to investigate more various corner
cases like user has cache with PS , then stop grid, switch in memory and
start again. Is there a chance to load data (if it can place in memory).
Also would be interesting to switch mode runtime.

On Tue, Jun 13, 2017 at 12:38 PM, Dmitriy Setrakyan <ds...@apache.org>
wrote:

> +1
>
> On Tue, Jun 13, 2017 at 1:13 AM, Yakov Zhdanov <yz...@apache.org>
> wrote:
>
> > Sam,
> >
> > Absolutely agree. Good catch!
> >
> > --Yakov
> >
>



-- 
Sergey Kozlov
GridGain Systems
www.gridgain.com

Re: Persistence enabled for all caches

Posted by Dmitriy Setrakyan <ds...@apache.org>.
+1

On Tue, Jun 13, 2017 at 1:13 AM, Yakov Zhdanov <yz...@apache.org> wrote:

> Sam,
>
> Absolutely agree. Good catch!
>
> --Yakov
>

Re: Persistence enabled for all caches

Posted by Yakov Zhdanov <yz...@apache.org>.
Sam,

Absolutely agree. Good catch!

--Yakov

Re: Persistence enabled for all caches

Posted by Vladimir Ozerov <vo...@gridgain.com>.
Makes absolute sense to me. It should be possible to have both persistent
and non-persistent caches.

On Tue, Jun 13, 2017 at 11:06 AM, Semyon Boikov <sb...@gridgain.com>
wrote:

> Hi guys,
>
> As I understand, currently by design, if I set
> IgniteConfiguration.persistentStoreConfiguration then persistence is
> automatically enabled for ALL caches. Don't you think it can be useful to
> have possibility to configure persistence per cache?
>
> Thanks!
>