Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7665 Ability to clear a Partitioned Region
  3. GEODE-7667

GFSH commands - uniform gfsh command to clear regions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • regions

    Description

      • 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

      Attachments

        Issue Links

          Activity

            People

              Sarm Kahel Benjamin P Ross
              nnag Nabarun Nag
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h
                  5h