Re: Page eviction mode is ignored

2018-01-02 Thread Sergey Sergeev
The similar issue was created by Denis, thanks.
https://issues.apache.org/jira/browse/IGNITE-7347

On Sat, Dec 23, 2017 at 12:29 AM, Denis Magda  wrote:

> Hi Sergey,
>
> > But... page eviction doesn't work for "inMemory" memory region... Why?
>
> If Ignite persistence is enabled, then the page-based evictions have no
> effect because the oldest pages will be purged from memory automatically.
>
> Updated the text of the warning to makes things clearer.
>
> > Does Ignite supports a mix (persistenceEnabled or not) of DataRegion
> configurations?
>
> Yes, you can have the persistence enabled for region A and disabled for
> region B.
>
> —
> Denis
>
>
> > On Dec 22, 2017, at 1:13 PM, Sergey Sergeev 
> wrote:
> >
> > Hi,
> >
> > I'm confused. After the successful launch of the Ignite cluster version
> 2.3.0, I saw the WARN message:
> > WARN  GridCacheDatabaseSharedManager - Page eviction mode for [inMemory]
> memory region is ignored because Ignite Native Persistence is enabled
> >
> > Ignite spring config see below:
> > 
> > ...
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  />
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ...
> >
> > 
> >
> > But... page eviction doesn't work for "inMemory" memory region... Why?
> > Does Ignite supports a mix (persistenceEnabled or not) of DataRegion
> configurations?
> >
> > --
> > Best regards,
> > Sergey S. Sergeev
> > exit(0);
>
>


-- 
С уважением,
Сергеев Сергей (aka SSSerj)
e-mail: webs.supp...@gmail.com
заметки: https://twitter.com/ssserj
exit(0);


Re: Page eviction mode is ignored

2017-12-22 Thread Denis Magda
Hi Sergey,

> But... page eviction doesn't work for "inMemory" memory region... Why?

If Ignite persistence is enabled, then the page-based evictions have no effect 
because the oldest pages will be purged from memory automatically.

Updated the text of the warning to makes things clearer.

> Does Ignite supports a mix (persistenceEnabled or not) of DataRegion 
> configurations?

Yes, you can have the persistence enabled for region A and disabled for region 
B.

—
Denis


> On Dec 22, 2017, at 1:13 PM, Sergey Sergeev  wrote:
> 
> Hi, 
> 
> I'm confused. After the successful launch of the Ignite cluster version 
> 2.3.0, I saw the WARN message: 
> WARN  GridCacheDatabaseSharedManager - Page eviction mode for [inMemory] 
> memory region is ignored because Ignite Native Persistence is enabled
> 
> Ignite spring config see below:
> 
> ...
> 
> 
> 
> 
> 
>  class="org.apache.ignite.configuration.DataRegionConfiguration">
> 
> 
> 
> 
> 
> 
> 
> 
>  class="org.apache.ignite.configuration.DataRegionConfiguration">
> 
> 
> 
> 
> 
> 
> 
>  class="org.apache.ignite.configuration.DataRegionConfiguration">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> But... page eviction doesn't work for "inMemory" memory region... Why?
> Does Ignite supports a mix (persistenceEnabled or not) of DataRegion 
> configurations?
> 
> -- 
> Best regards,
> Sergey S. Sergeev
> exit(0);



Page eviction mode is ignored

2017-12-22 Thread Sergey Sergeev
Hi,

I'm confused. After the successful launch of the Ignite cluster version
2.3.0, I saw the WARN message:
WARN  GridCacheDatabaseSharedManager - Page eviction mode for [inMemory]
memory region is ignored because Ignite Native Persistence is enabled

Ignite spring config see below:

...


































...



But... page eviction doesn't work for "inMemory" memory region... Why?
Does Ignite supports a mix (persistenceEnabled or not) of DataRegion
configurations?

-- 
Best regards,
Sergey S. Sergeev
exit(0);