Nabarun Nag created GEODE-7667:
----------------------------------

             Summary: GFSH commands - uniform gfsh command to clear regions
                 Key: GEODE-7667
                 URL: https://issues.apache.org/jira/browse/GEODE-7667
             Project: Geode
          Issue Type: New Feature
          Components: regions
            Reporter: Nabarun Nag


* Currently, the gfsh command to clear replicated region is called ‘remove 
—region=/regionName’. 



 * Replace this command with ‘clear —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=/regionName’ gfsh command
 * 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)

Reply via email to