From 69aa6d7adc9d364ba0ed21db3a4fa8d2a7bb0743 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 5 Aug 2026 12:55:35 -0700 Subject: [PATCH] test(s3): give the copying suite room for a collection per bucket (#10590) Every test bucket is its own collection and each grows 7 volumes, so the suite asks for 140 while the job caps the volume server at 100. Slots come back only when the volume server's next full heartbeat tells the master the deleted collections are gone, and the suite finishes inside one 5s pulse: the run survives on whichever buckets happened to be dropped before that single tick. The last run cleared by two slots, this one wedged the final PutObject with 'No writable volumes and no free volumes left'. --- .github/workflows/s3tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/s3tests.yml b/.github/workflows/s3tests.yml index 980ca20dd..6ac67ab36 100644 --- a/.github/workflows/s3tests.yml +++ b/.github/workflows/s3tests.yml @@ -694,10 +694,12 @@ jobs: export WEED_DATA_DIR="/tmp/seaweedfs-copy-test-$(date +%s)" mkdir -p "$WEED_DATA_DIR" set -x + # Each test bucket is its own collection and grows 7 volumes; the suite runs + # faster than the heartbeat that returns slots from the deleted collections. weed -v 0 server -filer -filer.maxMB=64 -s3 -ip.bind 0.0.0.0 \ -dir="$WEED_DATA_DIR" \ -master.raftHashicorp -master.electionTimeout 1s -master.volumeSizeLimitMB=100 \ - -volume.max=100 -volume.preStopSeconds=1 \ + -volume.max=300 -volume.preStopSeconds=1 \ -master.port=9336 -volume.port=8083 -filer.port=8891 -s3.port=8003 -metricsPort=9327 \ -s3.allowDeleteBucketNotEmpty=true -s3.config="$GITHUB_WORKSPACE/docker/compose/s3.json" -master.peers=none & pid=$!