Files
seaweedfs/weed/s3api/s3tables
8046d5c78a fix(iceberg): keep concurrent namespace property changes (#12890)
* iceberg: keep concurrent namespace property changes

UpdateNamespaceProperties merged the request into a copy read by
GetNamespace and wrote the whole map back, so when two requests changed
different properties of the same namespace at once, both answered 200
but only one change was kept. Apply the changes inside the
compare-checked write instead, and answer 503 with Retry-After when
every attempt loses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* s3tables: keep stored namespace properties out of a PropertyChanges answer

UpdateNamespace does not grant GetNamespace, so answering a PropertyChanges
request with the merged map let a caller allowed only to update read every
stored property, even with an empty change. Echo only what was sent, as the
Properties form does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* s3tables: describe the PropertyChanges form of UpdateNamespace

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>
2026-11-22 10:09:48 -08:00
..