Support GCS bulk delete with serialized single DELETE requests - #2185
Conversation
GCS's S3 API compatibility layer does not support the multi-object delete API. This change automatically detects GCS endpoints and falls back to single DELETE requests for bulk delete operations. Fixes minio#2181
|
@dbishop PTAL if this helps |
0e7d8e4 to
62ef390
Compare
|
@harshavardhana lgtm! I'm not sure the best way to get a warp binary with this incorporated. Is there an easy way for me to clone this repo, switch to this branch, and then have my warp repo's git tree reference my local minio-go tree instead of the real one upstream? Or is there a more idiomatic way to test an upstream golang library's PR branch in a downstream utility? |
@dbishop you need to use |
|
@harshavardhana , (note: there's also a patch active here, that I haven't submitted yet, that ensures that multiple clients don't try to delete the same objects when there's more than one client and --list-existing is supplied) |
GCS's S3 API compatibility layer does not support the multi-object delete API. This change automatically detects GCS endpoints and falls back to single DELETE requests for bulk delete operations.
Fixes #2181