[ https://issues.apache.org/jira/browse/GEODE-7667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097477#comment-17097477 ]
ASF GitHub Bot commented on GEODE-7667: --------------------------------------- BenjaminPerryRoss commented on a change in pull request #4818: URL: https://github.com/apache/geode/pull/4818#discussion_r418614878 ########## File path: geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ClearTXLockingDUnitTest.java ########## @@ -49,13 +49,14 @@ * <p> * GEODE-1740: It was observed that operations performed within a transaction were not holding * region modification locks for the duration of commit processing. This lock is used to ensure - * region consistency during CLEAR processing. By not holding the lock for the duration of commit + * region consistency during CLEAR_REGION processing. By not holding the lock for the duration of Review comment: Done. ########## File path: geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ClearTXLockingDUnitTest.java ########## @@ -49,13 +49,14 @@ * <p> * GEODE-1740: It was observed that operations performed within a transaction were not holding * region modification locks for the duration of commit processing. This lock is used to ensure - * region consistency during CLEAR processing. By not holding the lock for the duration of commit + * region consistency during CLEAR_REGION processing. By not holding the lock for the duration of + * commit * processing, a window was opened that allowed region operations such as clear to occur in * mid-commit. * * <p> * The fix for GEODE-1740 was to acquire and hold read locks for any region involved in the commit. - * This forces CLEAR to wait until commit processing is complete. + * This forces CLEAR_REGION to wait until commit processing is complete. Review comment: Done. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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 > * 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)