hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-2161) Create RepeatedKeyInfo structure to be saved in deletedTable
Date Mon, 23 Sep 2019 20:24:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936163#comment-16936163

Anu Engineer commented on HDDS-2161:

[~dineshchitlangia]  Thank you for the contribution. I have committed this patch to the trunk.

> Create RepeatedKeyInfo structure to be saved in deletedTable
> ------------------------------------------------------------
>                 Key: HDDS-2161
>                 URL: https://issues.apache.org/jira/browse/HDDS-2161
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Dinesh Chitlangia
>            Assignee: Dinesh Chitlangia
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
> Currently, OM Metadata deletedTable stores <Key Name, OMKeyInfo>
> When a user deletes a Key, <key name, omKeyInfo> is moved to deletedTable.
> If a user creates and deletes key with exact same name in quick succession repeatedly,
then old <key name, omKeyInfo> can get overwritten and we may be left with dangling
> To address this, currently we append delete timestamp to keyname and preserve the multiple
delete attempts for same key name.
> However, for GDPR compliance we need a way to check if a key is deleted from deletedTable
and thus given the above explanation, we may not get accurate information and it must also
confuse the users.
> This Jira aims to:
>  # Create new structure RepeatedKeyInfo which allows us to group multiple KeyInfo which
can be saved to deletedTable corresponding to a keyname as <KeyName, RepeatedKeyInfo>
>  # Due to this, before we move a key to deletedTable, we need to check if key with same
name exists. If yes, then fetch the existing instance and add the latest key to the list,
store it back to deletedTable, else create a new instance and save to table

This message was sent by Atlassian Jira

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

View raw message