geode-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] (GEODE-1897) Users should be able to configure eviction through gfsh
Date Thu, 16 Nov 2017 16:51:00 GMT

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

ASF GitHub Bot commented on GEODE-1897:
---------------------------------------

jinmeiliao commented on a change in pull request #1068: GEODE-1897: Ensure that eviction-object-sizer
also implements Declarable
URL: https://github.com/apache/geode/pull/1068#discussion_r151472616
 
 

 ##########
 File path: geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CreateRegionCommand.java
 ##########
 @@ -683,10 +683,6 @@ public Result preExecution(GfshParseResult parseResult) {
           return ResultBuilder.createUserErrorResult(
 
 Review comment:
   "and" these two ifs to make less nesting

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Users should be able to configure eviction through gfsh
> -------------------------------------------------------
>
>                 Key: GEODE-1897
>                 URL: https://issues.apache.org/jira/browse/GEODE-1897
>             Project: Geode
>          Issue Type: Sub-task
>          Components: docs, gfsh
>            Reporter: Swapnil Bawaskar
>            Assignee: Jens Deppe
>
> While creating a region in gfsh, users should be able to configure eviction for that
region.
> All three modes of eviction should be supported:
> 1. Eviction driven by the resource manager:
> {noformat}
> gfsh>create region --name=myRegion --type=REPLICATE --eviction-enabled
> {noformat}
> 2. eviction driven by entry count in the region:
> {noformat}
> gfsh>create region --name=myRegion --type=REPLICATE --eviction-entry-count=1000
> {noformat}
> 3. eviction driven by bytes used:
> {noformat}
> gfsh>create region --name=myRegion --type=REPLICATE --eviction-max-memory=100m
> {noformat}
> And also specify the eviction action as
> {noformat}
> --eviction-action=overflow-to-disk or
> --eviction-action=destroy
> {noformat}



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

Mime
View raw message