ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3841) Web console: we need to add eviction policy consistency
Date Tue, 04 Oct 2016 09:51:20 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544931#comment-15544931
] 

ASF GitHub Bot commented on IGNITE-3841:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/1136


> Web console: we need to add eviction policy consistency
> -------------------------------------------------------
>
>                 Key: IGNITE-3841
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3841
>             Project: Ignite
>          Issue Type: Task
>          Components: wizards
>            Reporter: Pavel Konstantinov
>            Assignee: Saikat Maitra
>            Priority: Minor
>             Fix For: 1.8
>
>
> Cache configuration > Eviction policy.
> Presently we do not check that user can set both 'Max memory size' and 'Max size' equal
to zero. I think we should show error message in this case because such configuration is incorrect
- eviction will never happen.
> {code}
> <bean class="org.apache.ignite.configuration.CacheConfiguration">
>             <property name="name" value="offheap-sorted-100"/>
>             <property name="cacheMode" value="PARTITIONED"/>
>             <property name="atomicityMode" value="ATOMIC"/>
>             <property name="offHeapMaxMemory" value="0"/>
>             <property name="statisticsEnabled" value="true"/>
>             <property name="evictionPolicy">
>                 <bean class="org.apache.ignite.cache.eviction.sorted.SortedEvictionPolicy">
>                     <property name="maxSize" value="0"/>
>                     <property name="maxMemorySize" value="0"/>
>                 </bean>
>             </property>
>         </bean>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message