You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/09 19:01:01 UTC

[jira] [Commented] (GEODE-7667) GFSH commands - uniform gfsh command to clear regions

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

ASF subversion and git services commented on GEODE-7667:
--------------------------------------------------------

Commit 9bf176cc7822f7328fef80e9f0797293d6f4e98e in geode's branch refs/heads/feature/GEODE-7665 from BenjaminPerryRoss
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=9bf176c ]

GEODE-7667: Add a 'clear' gfsh command for PR and RR clear (#4818)

* Added clear command and modified remove functionality to clear PR

Authored-by: Benjamin Ross <br...@pivotal.io>

> GFSH commands - uniform gfsh command to clear regions
> -----------------------------------------------------
>
>                 Key: GEODE-7667
>                 URL: https://issues.apache.org/jira/browse/GEODE-7667
>             Project: Geode
>          Issue Type: Sub-task
>          Components: regions
>            Reporter: Nabarun Nag
>            Assignee: Benjamin P Ross
>            Priority: Major
>              Labels: GeodeCommons, docs
>          Time Spent: 5h
>  Remaining Estimate: 0h
>
> * Currently, the gfsh command to clear replicated region is called ‘remove —region=/regionName’.
>  * Replace this command with ‘clear region —region=regionName’
>  * While executing this gfsh command on partitioned regions, this should call the clear() Java API using the gfsh function execution machinery.
>  * Point to note is that this command should take into consideration of the coordinator selection and how this command is distributed to the members
> Acceptance :
>  * There should be ‘clear region —region=/regionName’ gfsh command
>  * The gfsh command must be documented in the Geode User Guide
>  * DUnit tests to verify that command can be executed successfully on PartitionedRegion
>  * Deprecate the remove command, as remove does not mean clear
>  * Unit tests with complete code coverage for the newly written code.
>  * Test coverage to when a member departs in this scenario
>  * Test coverage to when a member restarts in this scenario



--
This message was sent by Atlassian Jira
(v8.3.4#803005)