smengcl commented on code in PR #6262:
URL: https://github.com/apache/ozone/pull/6262#discussion_r1554629566


##########
hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/RootedOzoneFileSystem.java:
##########
@@ -133,6 +140,11 @@ public boolean recoverLease(final Path f) throws 
IOException {
 
   @Override
   public boolean isFileClosed(Path f) throws IOException {
+    return TracingUtil.executeInNewSpan("ofs isFileClosed",
+        () -> isFileClosedTraced(f));
+  }
+  private boolean isFileClosedTraced(Path f) throws IOException {

Review Comment:
   nit
   ```suggestion
     }
   
     private boolean isFileClosedTraced(Path f) throws IOException {
   ```



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