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

UENISHI Kota updated HDDS-7712:
-------------------------------
    Description: 
>From [https://github.com/apache/ozone/pull/3225#issuecomment-1337659137] :
{quote}Similar problem is present for Directory recursive, but can not follow 
above solution,
This is because, key itself is having information of VolumeId and BucketId, but 
this is not present in value. This is required to identify further 
sub-directory and files (not the name, as bucket can be recreated and can be 
different for quota), And Need use VolumeId and BucketId.
Ref: https://issues.apache.org/jira/browse/HDDS-7592

With above solution, we may loose VolumeId and BucketId which was present as 
part of key. Currently for Key, this is not used, its just get purged.

Please check how to avoid this information loose if required in future.
{quote}
by [~sumitagrawl]

  was:
>From [https://github.com/apache/ozone/pull/3225#issuecomment-1337659137] :
{quote}Similar problem is present for Directory recursive, but can not follow 
above solution,
This is because, key itself is having information of VolumeId and BucketId, but 
this is not present in value. This is required to identify further 
sub-directory and files (not the name, as bucket can be recreated and can be 
different for quota), And Need use VolumeId and BucketId.
Ref: https://issues.apache.org/jira/browse/HDDS-7592

With above solution, we may loose VolumeId and BucketId which was present as 
part of key. Currently for Key, this is not used, its just get purged.

Please check how to avoid this information loose if required in future.
{quote}


> Change delete key for directory deletion
> ----------------------------------------
>
>                 Key: HDDS-7712
>                 URL: https://issues.apache.org/jira/browse/HDDS-7712
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Manager
>            Reporter: UENISHI Kota
>            Priority: Major
>
> From [https://github.com/apache/ozone/pull/3225#issuecomment-1337659137] :
> {quote}Similar problem is present for Directory recursive, but can not follow 
> above solution,
> This is because, key itself is having information of VolumeId and BucketId, 
> but this is not present in value. This is required to identify further 
> sub-directory and files (not the name, as bucket can be recreated and can be 
> different for quota), And Need use VolumeId and BucketId.
> Ref: https://issues.apache.org/jira/browse/HDDS-7592
> With above solution, we may loose VolumeId and BucketId which was present as 
> part of key. Currently for Key, this is not used, its just get purged.
> Please check how to avoid this information loose if required in future.
> {quote}
> by [~sumitagrawl]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to