Commit Graph
1697 Commits
Author SHA1 Message Date
Ping Qiu ecc1a6ef64 Merge pull request #256 from seaweedfs/feat/chunk-manifest-format3
feat(chunkstore): version chunk manifests with encoding and birth frontiers
2026-11-19 14:34:43 -08:00
pingqiu b99e081cf2 docs: restore UTF-8 invariant ledger with cut birth rule 2026-11-19 13:47:38 -08:00
pingqiu 4bee2d1192 docs: record recovery-bounded cut birth invariant and regression 2026-11-19 13:46:33 -08:00
pingqiu 4e53dbcb36 docs: clarify conservative map birth and captured frontier 2026-11-19 13:36:59 -08:00
pingqiu 29b3d2a30d fix: bound conservative chunk birth by captured image frontier 2026-11-19 13:35:58 -08:00
Ping Qiu eb72b49223 Merge pull request #263 from seaweedfs/fix/takeover-read-before-chunk-attach
fix(nvme): retry I/O until chunk attachment is operational
2026-11-19 13:27:57 -08:00
Ping Qiu 3a2147dac7 Merge branch 'main' into fix/takeover-read-before-chunk-attach 2026-11-19 13:12:53 -08:00
pingqiu fa32ab5b32 test: reproduce conservative chunk birth after dropped WAL suffix 2026-11-19 12:19:16 -08:00
Ping Qiu 3401bd2bd3 Merge pull request #259 from seaweedfs/work/checkpoint-proof-progress-controls
fix(storage): keep checkpoint progress across retained WAL appends
2026-11-19 12:01:48 -08:00
pingqiuandClaude Opus 5.5 6e42913466 Merge branch 'main' into work/checkpoint-proof-progress-controls
Resolves the overlap with the merged checkpoint diagnostics: the merged
versions are kept, plus this branch's explicit map-proof mutation in the
two refusal tests (newer WAL appends alone no longer refuse). The bounded
stale-prepare test keeps the exact refusal reason check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:44:14 -08:00
Ping Qiu 37179d16eb Merge pull request #251 from seaweedfs/fix/checkpoint-refusal-diagnostics
storage: distinguish and rate-limit checkpoint proof refusals
2026-11-19 11:12:04 -08:00
pingqiuandClaude Opus 5.5 97d8e68091 storage: test that only an advance moves the last-advance time
Supplied distinct times show an advancing success updates LastAdvance
while an unchanged success, a refusal and a failure keep it; the
starved-checkpoint test now requires the second advance to be later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:57:40 -08:00
pingqiuandClaude Opus 5.5 a2deedc49a storage: report the persisted checkpoint and its last advance
CheckpointPersistenceStatus now carries the persisted CheckpointLSN and
the count and time of the checkpoint calls that moved it. A success that
was clamped or left the checkpoint unchanged is not an advance, so a
starved checkpoint shows Successes rising while LastAdvance stays frozen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:26:54 -08:00
pingqiu a31c73f138 style: align the v3 test hooks after budget integration 2026-11-19 09:43:37 -08:00
pingqiu 8674d46b6d test: retain bounded stale-prepare checks with typed refusal reasons 2026-11-19 09:41:07 -08:00
pingqiu 2ed15f2c03 storage: distinguish recovery and map generation refusals 2026-11-19 09:38:23 -08:00
pingqiu a1209b2d90 storage: print the stable checkpoint refusal reason 2026-11-19 09:38:23 -08:00
pingqiu 751fe4ad0e storage: report checkpoint retry reasons and cumulative outcomes 2026-11-19 09:38:18 -08:00
pingqiu 88cfb04f71 test: expose checkpoint persistence refusals and successes 2026-11-19 09:37:52 -08:00
Ping Qiu 152087abf0 Merge branch 'main' into work/checkpoint-proof-progress-controls 2026-11-19 09:35:54 -08:00
Ping Qiu aa72c80171 Merge pull request #265 from seaweedfs/ci/setup-go-cache-hosted-only
ci: use the Actions Go cache only on GitHub-hosted runners
2026-11-19 09:16:14 -08:00
pingqiuandClaude Opus 5.5 6a38c27aa1 ci: use the Actions Go cache only on GitHub-hosted runners
The self-hosted runner keeps GOCACHE/GOMODCACHE on disk; the setup-go post
step uploading them (~4 GB) outlasted the 25-minute job timeout after all
tests had passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 08:57:46 -08:00
Ping Qiu 68cdc783c0 Merge pull request #252 from seaweedfs/fix/write-command-budget
storage: preserve write deadlines through WAL admission
2026-11-19 08:54:01 -08:00
Ping Qiu 8b54fcba96 Merge pull request #255 from seaweedfs/feat/dtb-b2-forced-lost-range
authority: record the lost range of a forced move
2026-11-19 08:51:10 -08:00
Ping Qiu 6644ff78b7 Merge branch 'main' into feat/chunk-manifest-format3 2026-11-19 08:14:06 -08:00
Ping Qiu d835badb61 Merge branch 'main' into feat/dtb-b2-forced-lost-range 2026-11-19 08:14:00 -08:00
Ping Qiu 9486bad3f2 Merge branch 'main' into fix/write-command-budget 2026-11-19 08:13:55 -08:00
Ping Qiu f1abb01a20 Merge pull request #262 from seaweedfs/test/247-hold-clock
test: freeze the publisher clock while the extension write is held (#247 hang)
2026-11-19 08:13:38 -08:00
pingqiu d49f7553af fix: recheck readiness and stale lineage at attach admission boundaries 2026-11-19 07:45:45 -08:00
pingqiu b967075b56 test: witness attach readiness races and start holds at the first waiter 2026-11-19 07:44:52 -08:00
pingqiuandClaude Opus 5.5 4f5be014ca test: #262 under-hold oracle with witnessed headroom; set-up and revoke/ACK on a frozen clock
- The extension write is held only when every eligible volume (and the
  clean volume) has positive host validity at the frozen instant, read from
  its own renewal view; under the hold every renewal started before the
  writers must grant (any refusal fails).
- The clock is frozen through the set-up binds (fsync writes could outlast
  a TTL and expire the first-bound volume before its renewer started) and
  from the hold until the clean volume's revoke ACK (queued behind every
  extension write); it then resumes from the frozen instant.
- The clock unit test registers stop + a bounded join before its readers
  start, so every exit settles them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 07:42:29 -08:00
pingqiu c8abeec62d docs: place readiness invariant in the frontend ledger 2026-11-19 07:36:47 -08:00
pingqiu 486289c30a fix: wait for chunk attachment before admitting takeover reads and writes 2026-11-19 07:30:15 -08:00
pingqiu eb698f98fd test: require pending takeover writes to await attachment 2026-11-19 07:28:16 -08:00
Ping Qiu b7af4c8e8c Merge pull request #260 from seaweedfs/fix/move-refusal-reasons
master: name a refused move's precondition; allow any port on the target host
2026-11-19 07:14:06 -08:00
Ping Qiu 9a0d432b6a Merge branch 'main' into feat/chunk-manifest-format3 2026-11-19 07:10:21 -08:00
Ping Qiu 3b0ca337c0 Merge branch 'main' into feat/dtb-b2-forced-lost-range 2026-11-19 07:10:12 -08:00
Ping Qiu 3c4195c3af Merge branch 'main' into fix/write-command-budget 2026-11-19 07:10:04 -08:00
pingqiu 7da8006648 test(nvme): pin zero retry delay for readiness policy 2026-11-19 07:09:58 -08:00
pingqiu f12c8f7358 test(durable): witness pending read before drain and close 2026-11-19 07:08:58 -08:00
Ping Qiu 4b5320f3ea Merge pull request #237 from seaweedfs/fix/chunkmap-bounded
fix(storage): bound the v3 owned-map file by reusing unreferenced extents
2026-11-19 07:08:03 -08:00
pingqiu dcf85fb41f fix(durable): wait for chunk read readiness before host retries 2026-11-19 07:07:58 -08:00
pingqiu 25ef2bbbb0 test(durable): model host retry exhaustion during attachment 2026-11-19 07:04:53 -08:00
pingqiu bdf45a43f8 fix(nvme): retry reads while the backend is not ready 2026-11-19 06:48:12 -08:00
pingqiu 93529c04fd test(durable): hold takeover after visible HEAD claim 2026-11-19 06:46:42 -08:00
pingqiu faceab21d3 test(nvme): reproduce reads during delayed chunk attachment 2026-11-19 06:45:24 -08:00
Ping Qiu 1747cdf9e1 Merge pull request #258 from seaweedfs/feat/dtb-b3-volume-unheld
storage, sw-block: prove locally that no process holds a volume
2026-11-19 06:37:59 -08:00
Ping Qiu 83b0878864 Merge pull request #229 from seaweedfs/fix/chunk-refuses-replication
blockvolume: refuse replication on a walstore-chunk volume (RF1 only)
2026-11-19 06:34:38 -08:00
pingqiuandClaude Opus 5.5 385ad024f4 test: #262 fold: one test-clock transaction per Now/Freeze/Resume; failure exits on the hold waits
Review fold (codex01, test only): the frozen check, time.Now and the offset
were separate reads, so a reader paused across freeze+release could see the
clock go backwards. leaseTestClock serializes Now/Freeze/Resume/SetOffset
under one mutex and never returns an earlier time than a previous Now.
TestLeaseTestClockMonotonicAcrossFreezeResume runs readers across 50
freeze/resume transitions. The held-entered and under-hold progress waits
get 30 s real-time failure exits (never a pass); the cleanup releases the
hold and joins every worker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 06:26:37 -08:00
Ping Qiu b783626889 Merge pull request #245 from seaweedfs/fix/chunk-dirty-threshold-help
blockvolume: correct the --chunk-dirty-threshold help text and comment
2026-11-19 05:59:07 -08:00