You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Shtykh (JIRA)" <ji...@apache.org> on 2017/09/01 05:17:00 UTC

[jira] [Closed] (IGNITE-6115) Ignore page eviction mode if Ignite persistence is enabled

     [ https://issues.apache.org/jira/browse/IGNITE-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shtykh closed IGNITE-6115.
--------------------------------

> Ignore page eviction mode if Ignite persistence is enabled
> ----------------------------------------------------------
>
>                 Key: IGNITE-6115
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6115
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Denis Magda
>            Assignee: Roman Shtykh
>              Labels: usability
>             Fix For: 2.3
>
>
> If a page eviction mode is defined for a memory region and the Ignite Native Persistence is enabled then the following exception is thrown on a node startup:
> {code}
> class org.apache.ignite.IgniteCheckedException: Failed to start processor:
> GridProcessorAdapter []
>        at
> org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1791)
>        at
> org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:929)
>        at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1896)
>        at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1648)
>        at
> org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1076)
>        at
> org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:994)
>        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:880)
>        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:779)
>        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:649)
>        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:618)
>        at org.apache.ignite.Ignition.start(Ignition.java:347)
>        at
> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
> Caused by: class org.apache.ignite.IgniteCheckedException: Page eviction is
> not compatible with persistence: 1G_Region
>        at
> org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.checkPolicyEvictionProperties(GridCacheDatabaseSharedManager.java:660)
>        at
> org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager.validateConfiguration(IgniteCacheDatabaseSharedManager.java:336)
>        at
> org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager.start0(IgniteCacheDatabaseSharedManager.java:109)
>        at
> org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.start0(GridCacheDatabaseSharedManager.java:358)
>        at
> org.apache.ignite.internal.processors.cache.GridCacheSharedManagerAdapter.start(GridCacheSharedManagerAdapter.java:61)
>        at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(GridCacheProcessor.java:696)
>        at
> org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1788)
> {code}
> That case has to be processed differently:
> * Ignore the page eviction mode and let the node to proceed with the startup.
> * Print a warning "Page eviction mode for {name} memory region is ignored because Ignite Native Persistence is enabled".
> Discussion on the dev list: http://apache-ignite-developers.2346864.n4.nabble.com/Fwd-Ignite2-1-Page-eviction-is-not-compatible-with-persistence-when-startup-td20934.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)