JacksonYao287 commented on a change in pull request #3024:
URL: https://github.com/apache/ozone/pull/3024#discussion_r794167181
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerDoubleBuffer.java
##########
@@ -103,6 +103,8 @@
private final boolean isRatisEnabled;
private final boolean isTracingEnabled;
+ private final AtomicLong availPendingRequestNum;
+ private final Object monitor;
Review comment:
yea, of course , Semaphore seems better here, thanks for pointing out
this!
--
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]