You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2017/03/14 08:25:41 UTC

[jira] [Updated] (GEODE-1897) unable to configure eviction through gfsh

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

Swapnil Bawaskar updated GEODE-1897:
------------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: GEODE-2656

> unable to configure eviction through gfsh
> -----------------------------------------
>
>                 Key: GEODE-1897
>                 URL: https://issues.apache.org/jira/browse/GEODE-1897
>             Project: Geode
>          Issue Type: Sub-task
>          Components: gfsh
>            Reporter: Swapnil Bawaskar
>
> 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.3.15#6346)