mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-19 02:15:02 +01:00
* operation: reassign an upload after a proven-expired volume JWT * seaweed-volume: mark an expired write JWT refused before append Mirror the Go volume server: a multipart POST whose write JWT is signed with the current key, names this fid and fails only on exp gets X-Seaweed-Write-Outcome: expired-jwt-before-append on its 401, so the uploader reassigns instead of failing. Both checks use one guard snapshot, so a key rotation between them cannot drop the marker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * operation: keep same-FID retry for filer-proxy expiries, snapshot the write signing key, and make the RetryForever budget test fail fast * operation: re-mint the filer credential before a proxy same-FID expiry retry * operation: make a proxy marked-expiry terminal in the outer retry too, not only the inner same-FID loop --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
373 B
Go
10 lines
373 B
Go
package http
|
|
|
|
// Write outcomes describe a refusal of this HTTP attempt before append, not the
|
|
// absence of a stored needle from an earlier attempt with a lost response.
|
|
const (
|
|
WriteOutcomeHeader = "X-Seaweed-Write-Outcome"
|
|
WriteOutcomeRefusedBeforeAppend = "refused-before-append"
|
|
WriteOutcomeExpiredJwtBeforeAppend = "expired-jwt-before-append"
|
|
)
|