ChenSammi commented on code in PR #3346:
URL: https://github.com/apache/ozone/pull/3346#discussion_r863629092
##########
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:
1. dropAllFromDB -> removeContainerFromDB
2. removeDB(), the logic of SCHEMA_V3 handling is not used. Better remove
it.
--
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]