mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
* s3api: reset the circuit breaker when its config is deleted The delete handler parsed an empty file, which always fails, so the old limits stayed in place. It now loads an empty config. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3api: read and swap the circuit breaker limits under its lock A config change or delete replaced Enabled and the limitations map while requests read them without a lock. The swap now holds the breaker's write lock, and requests read both under the read lock that loadCounterAndCompare already took for the counters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>