neils-dev commented on PR #4405:
URL: https://github.com/apache/ozone/pull/4405#issuecomment-1477169161

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


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to