GrantPSpencer opened a new pull request, #2724:
URL: https://github.com/apache/helix/pull/2724

   ### Issues
   
   - [x] CustomizedStateProvider APIs only allow operations at a per partition 
level on a single instance. If a user wants to completely wipe a 
customizedState for a given resource or for all resources using this API, they 
currently need to implement logic to identify all relevant partitions and then 
delete them one by one. 
   
   
   
   ### Description
   
    - [x] CustomizedStateProvider provides APIs to get, set, and delete 
customizedState information on a specific instance. This PR adds the ability to 
delete customizedState information at either the customizedStateName or 
resource level, which will allow for faster cleanup. 
   
   ### Tests
   
   - [x] testDeleteResourceCustomizedState - tests successful delete, deletes 
on non-existent resource and customizedState
   - [x] testDeleteAllResourcesCustomizedState - tests successful delete, 
deletes when no resources present and on non-existent customizedState
   
   
   ### Changes that Break Backward Compatibility (Optional)
   
   None. No changes to current APIs, only new features added. 
   
   ### Commits
   
   - My commits all reference appropriate Apache Helix GitHub issues in their 
subject lines. In addition, my commits follow the guidelines from "[How to 
write a good git commit message](http://chris.beams.io/posts/git-commit/)":
     - Subject is separated from body by a blank line
     - Subject is limited to 50 characters (not including Jira issue reference)
     - Subject does not end with a period
     - Subject uses the imperative mood ("add", not "adding")
     - Body wraps at 72 characters
     - Body explains "what" and "why", not "how"
   
   ### Code Quality
   
    - My diff has been formatted using helix-style.xml
      (helix-style-intellij.xml if IntelliJ IDE is used)


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to