Re: Enabling swap space and Ignite Persistence

2018-03-07 Thread Prachi Garg
Created JIRA ticket for this issue - https://issues.apache.org/jira/browse/IGNITE-7902 On Fri, Mar 2, 2018 at 10:34 AM, Valentin Kulichenko < valentin.kuliche...@gmail.com> wrote: > I stumbled across couple of use cases where swap space was more suitable > than persistence. However, enabling both

Re: Enabling swap space and Ignite Persistence

2018-03-02 Thread Valentin Kulichenko
I stumbled across couple of use cases where swap space was more suitable than persistence. However, enabling both for a same region definitely doesn't make sense to me, I would throw an exception in this case. -Val On Fri, Mar 2, 2018 at 9:46 AM, Denis Magda wrote: > Hi Ivan, > > > > Swap is le

Re: Enabling swap space and Ignite Persistence

2018-03-02 Thread Denis Magda
Hi Ivan, > Swap is legacy lightweight version of Ignite Native Persistence. In swap > mode, we fully rely on OS in storing offheap memory into memory-mapped > file. We don't provide durability guarantees in this mode. From my point of > view, after 2.1 release there's no reason to prefer swap mod

Re: Enabling swap space and Ignite Persistence

2018-03-02 Thread Ivan Rakov
Prachi, Swap is legacy lightweight version of Ignite Native Persistence. In swap mode, we fully rely on OS in storing offheap memory into memory-mapped file. We don't provide durability guarantees in this mode. From my point of view, after 2.1 release there's no reason to prefer swap mode over

Enabling swap space and Ignite Persistence

2018-03-01 Thread Prachi Garg
Engineers, How does persistence and swap work when both are enabled? I was under the impression that for a data region you can either have swap or persistence configured at a time, but not both. Please clarify. Thanks, -Prachi