guihecheng commented on code in PR #3346:
URL: https://github.com/apache/ozone/pull/3346#discussion_r865562257
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/helpers/BlockUtils.java:
##########
@@ -237,4 +237,21 @@ public static void verifyBCSId(KeyValueContainer
container, BlockID blockID)
+ containerBCSId + ".", UNKNOWN_BCSID);
}
}
+
+ /**
+ * Remove container KV metadata from per-disk db store.
+ * @param containerData
+ * @param conf
+ * @throws IOException
+ */
+ public static void dropAllFromDB(KeyValueContainerData containerData,
Review Comment:
Oh, I think for 2 I shall remove the logic indeed, because the disk failure
case is handled in other places.
--
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]