-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Batch objects in
Branch.delete_objects
calls (#285)
lakeFS supports a maximum of 1000 objects per `delete_objects()` invocation, since that calls the object deletion API under the hood. This limitation is not without precedent, and exists also e.g. on AWS S3. Hence, we batch delete objects on the client side, dispatching multiple API calls in the cases where the deleted objects list contains more than a thousand objects. The threshold number of objects is currently hardcoded to 1000, since that is the limitation of the lakeFS server.
- Loading branch information
1 parent
361dbfc
commit 41254a2
Showing
2 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters