The default value of 1000 objects in one DeleteObjects request can be too high for some S3 storage providers, the deletions of such amount of objects can take some time which can be interpreted as a failure by timeout. Retries would generate even more DeleteObjects requests that would only worsen the situation.
Solution: allow users to specify the number of objects in a single DeleteObjects requests with --max-batch option.
The default value of 1000 objects in one DeleteObjects request can be too high for some S3 storage providers, the deletions of such amount of objects can take some time which can be interpreted as a failure by timeout. Retries would generate even more DeleteObjects requests that would only worsen the situation.
Solution: allow users to specify the number of objects in a single DeleteObjects requests with --max-batch option.