Persistence enabled for all caches

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Persistence enabled for all caches

Semyon Boikov
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!
Reply | Threaded
Open this post in threaded view
|

Re: Persistence enabled for all caches

Vladimir Ozerov
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 <[hidden email]>
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!
>
Reply | Threaded
Open this post in threaded view
|

Re: Persistence enabled for all caches

yzhdanov
Sam,

Absolutely agree. Good catch!

--Yakov
Reply | Threaded
Open this post in threaded view
|

Re: Persistence enabled for all caches

dsetrakyan
+1

On Tue, Jun 13, 2017 at 1:13 AM, Yakov Zhdanov <[hidden email]> wrote:

> Sam,
>
> Absolutely agree. Good catch!
>
> --Yakov
>
Reply | Threaded
Open this post in threaded view
|

Re: Persistence enabled for all caches

Sergey Kozlov
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 <[hidden email]>
wrote:

> +1
>
> On Tue, Jun 13, 2017 at 1:13 AM, Yakov Zhdanov <[hidden email]>
> wrote:
>
> > Sam,
> >
> > Absolutely agree. Good catch!
> >
> > --Yakov
> >
>



--
Sergey Kozlov
GridGain Systems
www.gridgain.com
Reply | Threaded
Open this post in threaded view
|

Re: Persistence enabled for all caches

Dmitriy Setrakyan-2
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 <[hidden email]> 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 <[hidden email]
> >
> wrote:
>
> > +1
> >
> > On Tue, Jun 13, 2017 at 1:13 AM, Yakov Zhdanov <[hidden email]>
> > wrote:
> >
> > > Sam,
> > >
> > > Absolutely agree. Good catch!
> > >
> > > --Yakov
> > >
> >
>
>
>
> --
> Sergey Kozlov
> GridGain Systems
> www.gridgain.com
>