yuqi1129 commented on code in PR #6539:
URL: https://github.com/apache/gravitino/pull/6539#discussion_r1971525883


##########
core/src/main/java/org/apache/gravitino/lock/LockManager.java:
##########
@@ -161,12 +161,12 @@ private void startNodeCleaner() {
     lockCleaner.scheduleAtFixedRate(
         () -> {
           long nodeCount = totalNodeCount.get();
-          LOG.info("Total tree lock node count: {}", nodeCount);
+          LOG.debug("Total tree lock node count: {}", nodeCount);
           // If the total node count is greater than the maxTreeNodeInMemory * 
0.5, we will do the
           // clear up in case of the memory explosion.
           if (nodeCount > maxTreeNodeInMemory * 0.5) {
             StopWatch watch = StopWatch.createStarted();
-            LOG.trace("Start to clean up the stale tree lock nodes...");
+            LOG.info("Start to clean up the stale tree lock nodes...");

Review Comment:
   This line will be printed only when `nodeCount > maxTreeNodeInMemory * 0.5`; 
in this case, we did need to give the user some information. 



-- 
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: commits-unsubscr...@gravitino.apache.org

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

Reply via email to