ChenSammi commented on code in PR #8181:
URL: https://github.com/apache/ozone/pull/8181#discussion_r2022458522


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/DbVolume.java:
##########
@@ -55,11 +55,10 @@ protected DbVolume(Builder b) throws IOException {
     super(b);
 
     this.hddsDbStorePathMap = new HashMap<>();
-    if (!b.getFailedVolume()) {
-      LOG.info("Creating DbVolume: {} of storage type: {}, {}",
-              getStorageDir(), b.getStorageType(),
-              getCurrentUsage());
 
+    LOG.info("Creating DbVolume: {}", getReport());

Review Comment:
   Then please remove the "Creating" from the log, show "DbVolume: {}" only. 



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