You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sumitagrawl (via GitHub)" <gi...@apache.org> on 2023/03/23 12:56:15 UTC
[GitHub] [ozone] sumitagrawl commented on pull request #4405: HDDS-7884. ofs: Recursive delete of path of symlink with empty source fails
sumitagrawl commented on PR #4405:
URL: https://github.com/apache/ozone/pull/4405#issuecomment-1481147309
> Hi @sumitagrawl , I saw a problem with the symlink delete problem with orphaned link while reviewing this PR. It occurs when the src volume/bucket for the link is deleted. When the src for the link is deleted it causes an orphaned bucket link. This in turn currently causes an error when the target link volume/bucket is recursively listed. This should be handled. It can be reproduced by,
>
> _create src and target link._ `ozone sh bucket link /vol1/abc /s3v/abc` _delete src volume/bucket_ `ozone fs -rm -R -skipTrash ofs://om/vol1`
>
> _list recursively the target link:_ `ozone fs -ls -R ofs://om/s3v` **drwxrwxrwx - hadoop hadoop 0 2023-03-20 19:20 ofs://localhost/s3v/abc ls: Volume not found when getting bucket info**
@neils-dev Above case is handled and PR is updated
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org