Skip to content

Add code to disable batch_delete for GCS - #1

Merged
ilejn merged 6 commits into
masterfrom
use_remove_objects
Jan 31, 2025
Merged

ilejn merged 6 commits into
masterfrom
use_remove_objects

Conversation

@lesandie

Copy link
Copy Markdown
Member

GCS does not support batch_delete operations so we need to make an API call for each object to delete.

@lesandie lesandie self-assigned this Jan 31, 2025
@lesandie
lesandie requested a review from ilejn January 31, 2025 11:15
@ilejn

ilejn commented Jan 31, 2025

Copy link
Copy Markdown
Collaborator

All environment and commandline parameters are interchangeable,

S3GC_S3ACCESSKEY=GOOG1xxxxxxxxx \
S3GC_S3SECRETKEY=xxxxxxxxxxx \
S3GC_S3IP=storage.googleapis.com \
S3GC_S3PORT=443 \
S3GC_S3BUCKET=opensystems-altinity-main-disk \
S3GC_S3PATH=chi-main-main-0-0/ \
S3GC_S3SECURE_FLAG=true \
S3GC_S3DISKNAME=gcs \
S3GC_USEREMOTEOBJECTS=false \
python3 ./s3gc.py --verbose 

should work.

@ilejn
ilejn merged commit 1a5afef into master Jan 31, 2025
@lesandie lesandie mentioned this pull request Sep 25, 2026
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants