[
https://issues.apache.org/jira/browse/HDDS-2174?focusedWorklogId=318455&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-318455
]
ASF GitHub Bot logged work on HDDS-2174:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Sep/19 16:58
Start Date: 25/Sep/19 16:58
Worklog Time Spent: 10m
Work Description: bharatviswa504 commented on 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]
Issue Time Tracking
-------------------
Worklog Id: (was: 318455)
Time Spent: 1h 20m (was: 1h 10m)
> Delete GDPR Encryption Key from metadata when a Key is deleted
> --------------------------------------------------------------
>
> Key: HDDS-2174
> URL: https://issues.apache.org/jira/browse/HDDS-2174
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Dinesh Chitlangia
> Assignee: Dinesh Chitlangia
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> As advised by [~arp] & [~aengineer], when a deleteKey command is executed,
> delete the gdpr encryption key details from key metadata before moving it to
> deletedTable
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]