[ 
https://issues.apache.org/jira/browse/HADOOP-13760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron Fabbri updated HADOOP-13760:
----------------------------------
    Description: 
Following the S3AFileSystem integration patch in HADOOP-13651, we need to add 
delete tracking.

Current behavior on delete is to remove the metadata from the MetadataStore.  
To make deletes consistent, we need to add a {{isDeleted}} flag to 
{{PathMetadata}} and check it when returning results from functions like 
{{getFileStatus()}} and {{listStatus()}}.  In HADOOP-13651, I added TODO 
comments in most of the places these new conditions are needed.  The work does 
not look too bad.

  was:
Following the S3AFileSystem integration patch in HADOOP-13651, we need to add 
delete tracking.

Current behavior on delete is to remove the metadata from the MetadataStore.  
To make deletes consistent, we need to add a {{isDeleted}} flag to 
{{PathMetadata}} and check it when returning results from functions like 
{{getFileStatus()}} and {{listStatus()}}.  In HADOOP-13651, I added TODO 
comments in most of the places these new conditions are needed.  The work does 
not look to bad.


> S3Guard: add delete tracking
> ----------------------------
>
>                 Key: HADOOP-13760
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13760
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Aaron Fabbri
>
> Following the S3AFileSystem integration patch in HADOOP-13651, we need to add 
> delete tracking.
> Current behavior on delete is to remove the metadata from the MetadataStore.  
> To make deletes consistent, we need to add a {{isDeleted}} flag to 
> {{PathMetadata}} and check it when returning results from functions like 
> {{getFileStatus()}} and {{listStatus()}}.  In HADOOP-13651, I added TODO 
> comments in most of the places these new conditions are needed.  The work 
> does not look too bad.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to