openstack/swift · Week of 2026-06-27
openstack/swift — 2026-06-27
Observability. A new decorator landed in swift.common to log a timing breakdown for slow requests, and the object server picked it up to emit per-stage timings for slow DELETEs (review.opendev.org/c/openstack/swift/+/952260). Together that's roughly 600 lines of new instrumentation aimed at diagnosing latency outliers in the request path.
Gatekeeper hardening. The gatekeeper middleware now blocks X-Container-Host and the other internal update headers from arriving via client requests, with the same fix landed on master and backported across three stable branches. On the edge protocol side, s3api now asks the client to close the connection on RequestTimeout rather than leaving it in an ambiguous state.
Stability and internals. Metadata servers now explicitly close their DB connections, the largest single patch of the week at ~475 lines touched. The Timestamp offset handling was simplified, with validation cleaned up and zero now accepted as a valid offset. swift-ring-builder write_ring gained a --dev-id-bytes knob, and a flaky test_DELETE_container_updates timestamp collision was fixed.
Test coverage. Dispersion reports gained a ~300-line test suite filling out previously thin coverage.