priyeshkaratha commented on code in PR #9904:
URL: https://github.com/apache/ozone/pull/9904#discussion_r2919482009


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/metadata/AbstractRDBStore.java:
##########
@@ -144,7 +144,9 @@ public BatchOperationHandler getBatchHandler() {
 
   @Override
   public void close() {

Review Comment:
   Yes, thread safety is required here because I can see stop() and close() are 
called from different threads. So better to make it synchronized. Addressed 
your comments in latest commit.



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