ChenSammi commented on code in PR #3024:
URL: https://github.com/apache/ozone/pull/3024#discussion_r847885907
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerDoubleBuffer.java:
##########
@@ -190,6 +201,22 @@ private OzoneManagerDoubleBuffer(OMMetadataManager
omMetadataManager,
}
+ /**
+ * Acquires the given number of permits from unFlushedTransctions,
Review Comment:
Transctions
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerDoubleBuffer.java:
##########
@@ -190,6 +201,22 @@ private OzoneManagerDoubleBuffer(OMMetadataManager
omMetadataManager,
}
+ /**
+ * Acquires the given number of permits from unFlushedTransctions,
+ * blocking until all are available, or the thread is interrupted.
+ */
+ public void acquireUnFlushedTransctions(int n) throws InterruptedException {
Review Comment:
Transctions
--
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]