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_r328234500
 
 

 ##########
 File path: 
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/OmUtils.java
 ##########
 @@ -497,14 +500,27 @@ public static File createOMDir(String dirPath) {
     return dirFile;
   }
 
-  /**
-   * 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
-   */
-  public static String getDeletedKeyName(String key, long timestamp) {
-    return key + "_" + timestamp;
+  public static RepeatedOmKeyInfo stripGdprMetadata(
 
 Review comment:
   Can you add javadoc for this?

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

Reply via email to