anujmodi2021 commented on PR #6409:
URL: https://github.com/apache/hadoop/pull/6409#issuecomment-2031907051

   > hey, in #6494 i'm drafting a bulk delete API where the caller (iceberg 
etc) can give a list of file paths for deletion with no guarantees about safety 
checks, parent dirs existing afterwards etc. Would this work here too?
   
   From what I understood from your PR, this seems a bit different from bulk 
delete. Paginated delete will be supported here but caller won't be able to 
specify a list of paths that they want to delete. Only one path that too a 
directory path can be passes and everything inside that directory will be 
deleted.
   
   Pagination here is only for performing ACL checks and not actual delete. 
Delete will still be a single operation performed after ACL check is completed 
on whole directory listing.
   
   In case ACL checks ail in between after a few pages, whole delete operation 
will fail it won't delete any object. This way this is an atomic delete.
   


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