bharatviswa504 commented on a change in pull request #1519: HDDS-2174. Delete
GDPR Encryption Key from metadata when a Key is deleted
URL: https://github.com/apache/hadoop/pull/1519#discussion_r328315416
##########
File path:
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/OmUtils.java
##########
@@ -498,13 +501,35 @@ public static File createOMDir(String dirPath) {
}
/**
- * Returns the DB key name of a deleted key in OM metadata store. The
- * deleted key name is the <keyName>_<deletionTimestamp>.
- * @param key Original key name
- * @param timestamp timestamp of deletion
- * @return Deleted key name
+ * Prepares key info to be moved to deletedTable.
+ * 1. It strips GDPR metadata from key info
+ * 2. Check if an entry exists in deletedTable for given objectKey, if yes,
Review comment:
The 2nd point should be updated, it is still mentioning about old logic
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]