Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,23 @@ pub trait ObjectStore: std::fmt::Display + Send + Sync + Debug + 'static {
/// than one object per a request. Otherwise, the implementation may call
/// the single object delete method for each location.
///
/// # Bulk Delete Support
///
/// The following backends support native bulk delete operations:
///
/// - **AWS (S3)**: Uses the native [DeleteObjects] API with batches of up to 1000 objects
/// - **Azure**: Uses the native [Blob Batch] API with batches of up to 256 objects
///
/// The following backends use concurrent individual delete operations:
///
/// - **GCP**: Performs individual delete requests with up to 10 concurrent operations
/// - **HTTP**: Performs individual delete requests with up to 10 concurrent operations
/// - **Local**: Performs individual file deletions with up to 10 concurrent operations
/// - **Memory**: Performs individual in-memory deletions sequentially
///
/// [DeleteObjects]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html
/// [Blob Batch]: https://learn.microsoft.com/en-us/rest/api/storageservices/blob-batch
///
/// The returned stream yields the results of the delete operations in the
/// same order as the input locations. However, some errors will be from
/// an overall call to a bulk delete operation, and not from a specific
Expand Down