Commit Graph
4370 Commits
Author SHA1 Message Date
pingqiu 32a7f1f74d Refuse presence reseeding after the chunk coverage marker 2026-11-30 08:43:44 -08:00
pingqiu 1d732c1da5 Keep prepared coverage immutable and bound eager map geometry 2026-11-30 08:39:10 -08:00
pingqiu 3f0fe6bfec Reproduce unreadable half-fence map after legacy page reuse 2026-11-30 08:34:25 -08:00
pingqiu 903263e080 Guard coverage initialization before BASE writes and test publication faults 2026-11-30 08:32:01 -08:00
pingqiu 2d0a20bdc0 Add durable per-block chunk coverage and upgrade boundary 2026-11-30 08:27:14 -08:00
Ping Qiu 0f1fccdfb0 Merge pull request #817 from seaweedfs/feature/v11-store-format
storage: fence chunk-state upgrades and persist checked record pages
2026-11-30 07:49:23 -08:00
Ping Qiu e7a6526557 Merge pull request #827 from seaweedfs/ci/alpha-tags-only
ci: publish images on version tags only, not on every push to main
2026-11-30 07:48:26 -08:00
Ping Qiu d63c4223c0 Merge pull request #825 from seaweedfs/test/start-wal-replay-main
test: carry startup WAL replay interruption coverage to main
2026-11-30 07:16:23 -08:00
pingqiu d2a79d43f2 fix: freshly sync reopened upgrade fences and cover payload checks 2026-11-30 06:51:02 -08:00
pingqiuandClaude Opus 5.5 0db65a8cc6 ci: refuse a manual image publish that is not on a version tag
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>
2026-11-30 06:46:21 -08:00
Ping Qiu d7e2675129 Merge pull request #829 from seaweedfs/docs/restored-refetch-main
docs: a read-only restored volume fetches every chunk again after any restart
2026-11-30 06:45:59 -08:00
pingqiu 2653a662ae docs: a read-only restored volume fetches every chunk again after any restart
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)
2026-11-30 06:43:46 -08:00
pingqiuandClaude Opus 5.5 d7d5fcc8b2 ci: publish images on version tags only, not on every push to main
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>
2026-11-30 06:41:11 -08:00
pingqiu 9947e8567d docs: close the integrated chunk-page position trace 2026-11-30 06:39:41 -08:00
Ping Qiu b8c9883c32 Merge pull request #816 from seaweedfs/feat/v11-record-pages
storage: chunk record pages; an unfinished record behind the store is never used
2026-11-30 06:37:28 -08:00
Ping Qiu 35381d6bde Merge pull request #815 from seaweedfs/test/powerloss-replay-main
test: carry the power-loss replay fixture repair to main
2026-11-30 06:33:50 -08:00
pingqiu 39b6b164ed docs: keep experimental address codecs outside the widening scope 2026-11-30 06:22:43 -08:00
pingqiu 57f12f6b32 test: inventory persisted address widths and pin wide WAL addresses 2026-11-30 06:18:47 -08:00
pingqiu 92dac05d36 test: verify replay kill status and release failed seeds 2026-11-30 05:47:21 -08:00
pingqiu 25d9867619 test: kill startup WAL replay at record and batch boundaries 2026-11-30 05:47:21 -08:00
Ping Qiu 1f536ae262 Merge pull request #824 from seaweedfs/docs/remote-unavailable-bound-main
docs: remote_unavailable also follows a request that ran out of its 5-minute bound
2026-11-30 05:21:17 -08:00
pingqiu e70a6aef4f docs: remote_unavailable also follows a request that ran out of its 5-minute bound
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit efb91181e0)
2026-11-30 05:19:40 -08:00
Ping Qiu d0b859e630 Merge branch 'main' into test/powerloss-replay-main 2026-11-30 04:45:32 -08:00
Ping Qiu 0f1f316d44 Merge pull request #821 from seaweedfs/ci/pr-tp04-main
ci: run Test for same-repo pull requests on the self-hosted runner
2026-11-30 04:41:57 -08:00
pingqiuandClaude Opus 5.5 48e1e7f53f ci: run Test for same-repo pull requests on the self-hosted runner
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>
2026-11-30 04:38:27 -08:00
pingqiuandClaude Opus 5.5 84fcbe99a0 test(storage): the census registers ChunkStateMarker as a read
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 03:43:32 -08:00
pingqiuandClaude Opus 5.5 5b0c981632 storage: the record's completion reads the synced position, at open
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>
2026-11-30 03:42:37 -08:00
pingqiuandClaude Opus 5.5 38077535e7 test(storage): the record's header is not written ahead of the synced store
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 03:42:37 -08:00
pingqiuandClaude Opus 5.5 5b95b66f8d storage: the record's header is written only over current pages; positions ahead are refused
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>
2026-11-30 03:42:37 -08:00
pingqiuandClaude Opus 5.5 0e1b46eed4 test(storage): stale pages are never completed; positions ahead are refused
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>
2026-11-30 03:42:37 -08:00
pingqiuandClaude Opus 5.5 0a2d86dc44 docs(invariants): the chunk record's position check, as a STUB row
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 03:42:36 -08:00
pingqiuandClaude Opus 5.5 78819fc994 storage: the record reader checks the store's position before the pages
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>
2026-11-30 03:42:36 -08:00
pingqiuandClaude Opus 5.5 b62d2d99d5 test(storage): an unfinished chunk record behind the store is never trusted
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>
2026-11-30 03:42:36 -08:00
Ping Qiu 62baf79eb1 Merge pull request #814 from seaweedfs/docs/v101-note-main
docs: v1.0.1 release note; drop the stale "coming in v1.0.1" lines
2026-11-30 03:41:38 -08:00
pingqiu e7b3851f38 test: classify the chunk-state fence as a control operation 2026-11-30 03:41:30 -08:00
pingqiu 6c5a1b42e4 docs: trace the chunk-state slot fence to its model rules 2026-11-30 03:09:02 -08:00
pingqiu c13cb1641a docs: register the inactive chunk-state upgrade fence invariant 2026-11-30 03:06:27 -08:00
pingqiu 34fa00eb7b Make power-loss replay verification use a causal cut boundary
(cherry picked from commit 5c679df1cf)
2026-11-30 02:46:36 -08:00
pingqiu 108bc97677 docs: operator guide states the 5-minute request bound, not measured figures
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)
2026-11-30 02:46:20 -08:00
pingqiu dd9ed22f0a test: restart the upgrade fence after a legacy publication 2026-11-30 02:45:39 -08:00
pingqiu 1b3a4b6a3e storage: fence chunk-state upgrades across both descriptor slots 2026-11-30 02:43:52 -08:00
pingqiu 6113f8d345 docs: v1.0.1 note adds the start checks and later fixes; no unmeasured figures
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)
2026-11-30 02:42:23 -08:00
pingqiu a224d22234 docs: v1.0.1 release note; drop the stale "coming in v1.0.1" lines
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)
2026-11-30 02:39:35 -08:00
Ping Qiu 992f702ffe Merge pull request #809 from seaweedfs/docs/verify-flags
docs: verify checks every named snapshot; drop the refused --all-snapshots
seaweed-block/v1.0.1-rc.1
2026-11-29 23:57:47 -08:00
pingqiuandClaude Opus 5.5 f79c1cad19 docs: verify checks every named snapshot; drop the refused --all-snapshots
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:32:13 -08:00
Ping Qiu f04eb25afd Merge pull request #808 from seaweedfs/ci/format-v3-tag
ci: run the format v3 tagged tests, five BASE tests skipped by name
2026-11-29 23:19:39 -08:00
pingqiuandClaude Opus 5.5 c915e21903 ci: run the format v3 tagged tests, five BASE tests skipped by name
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>
2026-11-29 22:10:33 -08:00
Ping Qiu 1f8d63ad67 Merge pull request #807 from seaweedfs/docs/replicated-stale-reads
docs: a cut-off replicated primary is not stopped by a lease and may serve stale reads
2026-11-29 22:06:47 -08:00
Ping Qiu 470099723a Merge pull request #806 from seaweedfs/ci/train-test-self-hosted
ci: run a train PR's Test suites on the self-hosted runners
2026-11-29 22:05:44 -08:00
Ping Qiu 069121e06d Merge pull request #805 from seaweedfs/train/20261130-t3
train: four accepted v1.0.1 PRs (filer client check, HEAD probe, final revocation refusal, snapshot schedule)
2026-11-29 21:36:29 -08:00