Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
A clear() Java API on Partitioned Region
- Acquires a distributed lock
- Declares itself the co-ordinator
- Gets the primary list of buckets and sends clear messages
- After primaries are cleared and then clear messages are sent to the secondaries
If all the steps are successful then API return success
Acceptance :
- Unit tests to have complete code coverage
- DUnit tests where clear op on Partitioned Region is successful (Region size = 0)
- DUnit test where all concurrent clear() calls are made. One operation should succeed while sending appropriate messages to the failing API calls
- Test coverage for PartitionedRegion with redundancy levels of 0 and more.
- Test coverage to when a member departs in this scenario
- Test coverage to when a member restarts in this scenario
NOTE:
Analyze if there needs to be tests for offheap regions. If it is needed then write the tests and make the appropriate code changes to make the offheap tests pass.
Attachments
Issue Links
- is a child of
-
GEODE-7665 Ability to clear a Partitioned Region
- Open
- is a parent of
-
GEODE-7682 Create the java API to clear a PartitionedRegion
- Resolved
-
GEODE-7684 Implement the Bucket region clear messages and handling
- Resolved
-
GEODE-7683 Implement the Bucket Region cmnClearRegion
- Closed
-
GEODE-7858 PR.clear notify client should let the queue holder member to notify
- Open
-
GEODE-7844 Refactor sendMsgByBucket and sendClearMsgByBucket not to use duplicated code
- Resolved
-
GEODE-7845 Rollingupgrade should not conflict with the new ClearPRMessage
- Resolved
-
GEODE-7846 Clear in Partitioned Region should have its own stats
- Resolved
-
GEODE-7847 Clear in PR could fail with Partial result, need to send to caller with an exception
- Resolved
-
GEODE-7857 PR.clear's eventID should not be NULL
- Closed