You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/09/25 17:51:16 UTC

[GitHub] [hadoop] dineshchitlangia commented on a change in pull request #1519: HDDS-2174. Delete GDPR Encryption Key from metadata when a Key is deleted

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

 ##########
 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:
   Thanks for checking @bharatviswa504 . I have updated PR to address this and also renamed the method appropriately while I was writing the javadoc.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org