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

Attila Doroszlai commented on HDDS-11771:
-----------------------------------------

[~jyosin], this is similar to filesystem links.

bq. just pointing to empty locations

= dangling link

> Source bucket should not be allowed to be deleted if link buckets exists
> ------------------------------------------------------------------------
>
>                 Key: HDDS-11771
>                 URL: https://issues.apache.org/jira/browse/HDDS-11771
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Filesystem
>            Reporter: Jyotirmoy Sinha
>            Priority: Major
>
> Source bucket should not be allowed to be deleted if link buckets exists
> Current behaviour -
> Source buckets are allowed to be deleted even if they have active linked 
> buckets. On doing this the linked buckets are just pointing to empty 
> locations.
> Error observed on doing any operation on linked buckets after source is 
> deleted -
> {code:java}
> # ozone sh key ls vol2/lbuck3
> BUCKET_NOT_FOUND Bucket not found: vol1/buck3
> # ozone sh key put vol2/lbuck3/key1 /etc/hosts
> BUCKET_NOT_FOUND Bucket not found: vol1/buck3 {code}



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