On Mon, Oct 2, 2017 at 7:46 AM, Denis Magda <dma...@apache.org> wrote:
> > > On Oct 1, 2017, at 4:41 AM, Ivan Rakov <ivan.glu...@gmail.com> wrote: > > > > 1) You're right. I forgot to include the main flag in > DataRegionConfiguration - *isPersistenceEnabled*. Persistence will be > enabled globally if at least one memory region has this flag set. > > I’m confused. Why the persistence should be enabled *globally* if the > purpose is to have it set for a specific region? If it’s enabled for region > A only, I don’t want to have it activated for region B. > Yes, you are right. By default the persistence will be disabled globally. But we should also give users a way to switch the default behavior from in-memory only (no-persistence) to persistence.