fanhualta commented on a change in pull request #32: fix sonar issues
URL: https://github.com/apache/incubator-iotdb/pull/32#discussion_r251863128
 
 

 ##########
 File path: 
iotdb/src/main/java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java
 ##########
 @@ -429,10 +428,13 @@ public void fileNodeRecovery() throws 
FileNodeProcessorException {
           .put(FileNodeConstants.FILENODE_PROCESSOR_FLUSH_ACTION, 
flushFileNodeProcessorAction);
       String baseDir = directories
           .getTsFileFolder(newFileNodes.get(newFileNodes.size() - 
1).getBaseDirIndex());
-      LOGGER.info(
-          "The filenode processor {} will recovery the bufferwrite processor, "
-              + "the bufferwrite file is {}",
-          getProcessorName(), fileNames[fileNames.length - 1]);
+      if (LOGGER.isInfoEnabled()) {
 
 Review comment:
   The usage of LOGGER.ingo here is different from others. It's better to unify 
them.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to