Commit Graph
2091 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 a4de2484f9 chunkstore: independent restore, catalog part (Restore, OriginRestore, independence marker)
Restore is Fork recorded with Origin restore (same claim semantics: live until the
target has a HEAD). Every reader of the fork record accepts OriginRestore; a replay
onto a volume of the other origin is refused. MarkIndependent writes the write-once
RESTORE-INDEPENDENT entry only when the resolved HEAD holds no ref to another
volume (ForeignRefs: owner-qualified keys whose owner is not the volume).

Tests: restore records origin/fork record and attaches; replay and origin mismatch;
marker refused while foreign refs remain, write-once replay; source snapshot and
source volume deleted mid-restore (attach, replay and finish stay normal); GC keeps
every chunk the restored HEAD names with the snapshot and the source gone; a restore
without a live HEAD never attaches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:47:42 -08:00
Ping Qiu 2d345a3663 Merge pull request #321 from seaweedfs/train/20261121-4
Train 4: #319 + #316
2026-11-20 18:58:33 -08:00
pingqiu cc1747aa3a Merge #316 (plain-detach capability flag) into train 4 2026-11-20 18:19:14 -08:00
pingqiu 0e643206b5 Merge #319 (amendment 4: commit rule + fresh fixed window) into train 4 2026-11-20 18:19:14 -08:00
pingqiu 1ad83a4f5c fix(storage): compare only known pre-copy estimates 2026-11-20 18:10:25 -08:00
pingqiu 204334c776 test(storage): cover zero one and two fresh fixed samples 2026-11-20 17:58:15 -08:00
pingqiu 5eac7ebf88 test(storage): verify declared freeze overruns under disk load 2026-11-20 17:53:47 -08:00
pingqiu 96bb2c7f87 fix(storage): preserve warm rate-window reporting 2026-11-20 17:51:49 -08:00
pingqiu b6a3f5840c fix(storage): allow available fresh fixed-cost observations 2026-11-20 17:50:38 -08:00
pingqiu b3734dc2cb fix(storage): admit bounded pre-copy plateaus and age fixed samples 2026-11-20 17:48:14 -08:00
pingqiu 90aa567bc2 Merge remote-tracking branch 'origin/main' into feat/plain-detach-capability 2026-11-20 17:41:11 -08:00
Ping Qiu 2adf8c7d0b Merge pull request #315 from seaweedfs/train/20261121-3
Train 3: #311 + #312 + #313 + #314
2026-11-20 17:25:39 -08:00
pingqiuandClaude Opus 5.5 a82c37e6ac Merge #314 (plain detach) into train 3
Docs-only conflicts with #311 resolved as a union: invariants.md keeps the
INV-CUT-PLAIN-DETACH-001 row and #311's INV-CUT-PRECOPY-001 row; spec README
keeps both the PrecopyFixedAdmission and PlainDetach sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:54:22 -08:00
pingqiu 20dd88c0b4 Merge #313 into train 3 2026-11-20 16:54:14 -08:00
pingqiu e283124abc Merge #312 into train 3 2026-11-20 16:54:14 -08:00
pingqiu 965cb93e03 Merge #311 into train 3 2026-11-20 16:54:14 -08:00
pingqiu 92d2c3fa89 fix: expose cut timing fields and admit drain refusal in fixture 2026-11-20 16:48:21 -08:00
pingqiu 11227d158a feat: advertise plain chunk detach capability 2026-11-20 16:23:50 -08:00
pingqiu 33f6212e0b Merge main and retain bounded pre-copy admission controls 2026-11-20 16:16:17 -08:00
pingqiu a28f2b73b5 docs: restore pre-copy transition and place plain detach invariant 2026-11-20 16:13:44 -08:00
pingqiu ea38af0f9c test: isolate plain detach pre-copy bypass control 2026-11-20 16:04:25 -08:00
pingqiu 4f395e23f7 feat: allow idle frontend plain chunk detach 2026-11-20 16:02:38 -08:00
pingqiuandClaude Opus 5.5 45b3ec7c81 ci: post-merge-review: read an allow list's unterminated last line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:43:02 -08:00
pingqiu 1bd28f7c53 test: witness disjoint pre-copy phase timing and record model results 2026-11-20 15:33:41 -08:00
pingqiuandClaude Opus 5.5 8b95fb320a ci: give each test job 40 minutes
Seven of the last 80 runs were cancelled at the 25-minute job limit while the
tests were still running under host load (the default pass alone takes 11-16
minutes on a busy tp04). Each job now carries one pass, and 40 minutes leaves
room for a loaded runner without letting a hung run sit for long.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:32:38 -08:00
Ping Qiu 8d79589d81 Merge pull request #310 from seaweedfs/train/20261120-2
Train 2: #307, #309
2026-11-20 15:25:32 -08:00
pingqiuandClaude Opus 5.5 d92c1e94ac Merge #309 (per-device sync policy, auto) into train 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:01:45 -08:00
pingqiuandClaude Opus 5.5 274a3fe921 Merge #307 (post-merge-review path check) into train 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:01:45 -08:00
pingqiu d8e3c611ef test: cap all pre-copy fixture outcomes at five rounds 2026-11-20 14:56:26 -08:00
pingqiu fdbac0f463 fix(storage): classify ceiling refusals and measure recovery read-backs 2026-11-20 14:43:13 -08:00
pingqiu 345b4f685e test(storage): witness separate HEAD CAS and read-back timings 2026-11-20 14:37:00 -08:00
pingqiu ed867d0c4e test(storage): retain slow samples while permitting declared plateau commits 2026-11-20 14:34:16 -08:00
pingqiu e29829bbac test(storage): compose pre-copy exception controls and bounded admission model 2026-11-20 14:32:12 -08:00
pingqiu 24e3ba4ad0 fix(storage): declare stalled fixed-bound pre-copy commits and cost parts 2026-11-20 14:27:49 -08:00
pingqiu 9f50a717fd test(storage): distinguish fixed-bound and tail-bound pre-copy costs 2026-11-20 14:24:16 -08:00
pingqiu 784fedcc90 Merge main and validate pre-copy admission against measured costs 2026-11-20 14:15:43 -08:00
Ping Qiu f670a97977 Merge pull request #308 from seaweedfs/train/20261120-1
Train 1: #294, #305
2026-11-20 13:42:43 -08:00
pingqiuandClaude Opus 5.5 7a37edaa89 Merge #305 (hosted legacy-fixture job) into train 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:12:53 -08:00
pingqiuandClaude Opus 5.5 602c8f3ad4 Merge #294 (pre-copy, default off) into train 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:12:53 -08:00
pingqiuandClaude Opus 5.5 7271a21877 ci: run the legacy-fixture job on the tp04 runners too
The hosted runner queue for this org waited 2 h 18 min for the job on this
PR's own run (created 18:03Z, started 20:21Z), which blocks every merge on
it. tp04 now has two runner instances with the same label, so the
legacy-fixture job uses the default job's routing: same-repo PRs and pushes
run both passes in parallel on tp04, fork PRs stay on a hosted runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:12:41 -08:00
pingqiu 8307d82f4e fix(storage): require write-through cache policy at every stack node 2026-11-20 13:02:59 -08:00
pingqiu 2816c191cd fix(storage): expose immutable auto sync choice in durable status 2026-11-20 12:56:27 -08:00
pingqiu d14b66d0a6 fix(storage): choose data sync from backing device cache policy 2026-11-20 12:50:15 -08:00
pingqiu 4018929613 test(storage): cover device-dependent data sync policy 2026-11-20 12:48:53 -08:00
pingqiuandClaude Opus 5.5 d8ffd2e629 ci: post-merge-review: fail closed on a malformed change record
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:45:03 -08:00
pingqiuandClaude Opus 5.5 30219b0ea8 ci: post-merge-review: deny test gates, test deletes and every old protected path; status server out
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:37:39 -08:00
pingqiu 0dc4597555 Merge main with v3-only capture and detach cancellation witnesses 2026-11-20 12:31:02 -08:00
pingqiuandClaude Opus 5.5 c1d556bf48 ci: post-merge-review check as an allow list, over raw paths, rerun on retarget
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:30:52 -08:00
Ping Qiu b11159a9af Merge pull request #306 from seaweedfs/test/303-settle-bound
test(durable): settle-bound test asserts against traced deadlines
2026-11-20 12:29:11 -08:00
pingqiuandClaude Opus 5.5 ae1c2c0a25 ci: fail a post-merge-review PR that touches a denied path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:20:56 -08:00