tanvipenumudy commented on PR #6780:
URL: https://github.com/apache/ozone/pull/6780#issuecomment-2154150503

   > why are we running into error when we use fs.delete on FSO bucket?
   
   This is because, we know that: 
   
   - When user:A performs mkdir `ofs://<ozone-service-id>/tmp` -> this 
auto-creates a bucket (whose name is the MD5-hash(user:A)
   - When user:B performs mkdir `ofs://<ozone-service-id>/tmp` -> this 
auto-creates a bucket (whose name is the MD5-hash(user:B)
   
   Let us assume the scenario wherein:
   
   - user:A -> mkdir `ofs://<ozone-service-id>/tmp` -> this creates a bucket 
MD5-hash(user:A)
   - If user:A tries to fs.delete() /tmp -> bucket MD5-hash(user:A) is 
identified.
   - If user:B tries to fs.delete() /tmp -> bucket MD5-hash(user:B) is prompted 
as does not exist and results in the 'Failed to clean bucket' RuntimeException.


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