keith-turner opened a new issue, #5494:
URL: https://github.com/apache/accumulo/issues/5494

   **Is your feature request related to a problem? Please describe.**
   
   The implementation of `TableOperations.setLocalityGroups()` sets and removes 
multiple table properties independently.  This implementation would not handle 
multiple threads calling the method for the same table very well, it could lead 
to corrupted locality group configuration.
   
   **Describe the solution you'd like**
   
   In the implementation of `TableOperations.setLocalityGroups()` use 
`TableOperations.modifyProperties()` to atomically do all of the needed set and 
remove operations.  This will make the method safe for concurrent use.
   
   
   


-- 
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: notifications-unsubscr...@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to