The layout.ErrPrecondition case moves to the last position before default,
so every other cause an error carries decides first, the non-retryable
ones (closed, detached, frozen detach unsupported, an invalid freeze
budget, not a chunk volume) included. Controls: each joined with the
precondition reports its own code; with the case moved back to its
earlier place the closed, detached and frozen-detach rows fail.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 64eddb3484)
chunkErrorCode maps layout.ErrPrecondition (a catalog transition lost its
conditional HEAD write to another writer, such as a cleaning's begin) to
head_conflict, 409, retryable, as it maps the engine's HEAD precondition.
It answered internal before. The case sits with the HEAD-precondition one,
after every terminal and uncertain cause, so a joined error keeps its
precedence. The operator guide and the v1.0.1 notes say to retry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3a5de69079)
The holder's cleaning begins between a snapshot delete's HEAD read and its
conditional write: the delete fails on the HEAD precondition, nothing of it
applies, and a retry completes. Red: the refusal maps to 500 internal, not
retryable; under a persistent conflict every attempt is internal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 031312357b)
A workflow_dispatch from a branch would still write :alpha. The publish job
now runs only when the ref is a v* tag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The v1.0.1 known limit and the standalone restore steps said fetched chunks
are fetched again after a crash; a restored volume that has only been read
takes no checkpoint, so it fetches all of them again after any restart,
clean included, until a write or its next checkpoint records them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3759fae784)
main now carries the next minor version in development, which will bring a
one-way store format change. Publishing on each push to main would move the
public ':alpha' and 'sha-*' tags to those development builds. Images are
published only for version tags (and manual dispatch) until the image tag
policy for development builds is decided.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hosted queue held every same-repo pull request's Test job for more than
an hour today, which blocked gate fixes and reviewed work alike. Same-repo
pull requests now run Test on the tp04-seaweed-block label, as main pushes
and train branches already do. Pull requests from forks keep the hosted
runner, so no fork code runs on our machines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
completeChunkRecord takes P from the store's synced position, not the
assigned one, and refuses while a write is assigned but not synced: the
completion runs at open, after recovery and before guest I/O.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
completeChunkRecord fences, reads the store's durable position after the
fence, and writes the header (G = that position) only when every page is
present, passes its check and is valid through exactly that position. The
loader refuses positions ahead of the recovered store: an unfinished record
must equal it, a complete record's G may not pass it, a page ahead of it is
damaged. Pages carry the segment's candidate count, the segment name its
published marks refer to, and the kernel table version (chunk-kernel/2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three reds on the production store: a header written over pages that miss
an old writer's acknowledged write after a half fence; an unfinished record
whose pages are ahead of the recovered store; a complete record whose header
position is ahead of it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An unfinished record is used only when every page is valid through the
store's last durable position after recovery; a page behind it missed
writes, for example ones an old version acknowledged between the pages and
the fence, and the upgrade builds the record again from the presence.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The record pages, their header, and a reader. The red: pages are written,
the fence is left half done, a writer that does not keep the pages
acknowledges a write, and the new version opens again with the store still
marked; the reader takes the pages that miss that write.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The restore-target delete and the snapshot timeout paragraphs keep the
contract that follows from the server's 5-minute bound for one request and
drop the figures measured before the performance round.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 8719e9cace)
Adds the start-up checks operators meet (workspace lease required, the
conditional HEAD probe, the stricter single-filer check, exit 79), the
snapshot position, schedule, upload and fsync fixes, and the forced-move
JSON. Limits are stated without performance figures measured before the
performance round; the gate line stays until the release gates end.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 5c1c1c75b4)
The note lists what v1.0.1 adds and fixes, its upgrade, limits and known
limits, checked against this branch. README, troubleshooting, the cleaning
page and the operator guide no longer call those changes unreleased; the
operator guide describes the CLI's own repeat of 5-minute requests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e883ade9be)
The swblock_format_v3_test tags never ran in CI. Five durable tests
install a BASE on a chunk store, which no production path does; they are
skipped by name until their rewrite, so every other tagged test gates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The organization's shared hosted queue held train PRs 30 to 55 minutes
before their suites started, while the team's runners, which already
run the same suites on every push to main, were idle. Only train/*
branches of this repository select them; every other PR, forks
included, stays on GitHub-hosted machines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>