SteveYurongSu commented on code in PR #14324:
URL: https://github.com/apache/iotdb/pull/14324#discussion_r1871474852


##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/resource/ref/PipePhantomReferenceManager.java:
##########
@@ -155,7 +155,7 @@ private void clearReferenceCount(final String 
holderMessage) {
       }
 
       if (referenceCount.get() >= 1) {
-        LOGGER.error("PIPE EVENT RESOURCE LEAK DETECTED: {}", holderMessage);
+        LOGGER.error("PIPE EVENT RESOURCE LEAK DETECTED ({}): {}", 
referenceCount, holderMessage);

Review Comment:
   ```suggestion
           LOGGER.error("PIPE EVENT RESOURCE LEAK DETECTED ({}): {}", 
referenceCount.get(), holderMessage);
   ```
   
   Or you will get a non-human-readable string in ()



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

Reply via email to