Commit Graph
4725 Commits
Author SHA1 Message Date
Ping Qiu dee857b2f3 Merge pull request #915 from seaweedfs/ci/process-level-artifacts
ci: keep the process-level logs and shard results when a run fails
2026-12-01 20:32:30 -08:00
Ping Qiu 664a31451d Merge pull request #921 from seaweedfs/test/nongating-preview-fencing
ci: non-gating named tests (with an issue); the replicated preview's fencing round runs and reports without gating (#920)
2026-12-01 20:03:50 -08:00
Ping Qiu 57445f3340 Merge pull request #919 from seaweedfs/test/nvme-initiator-host-retries
test: retry transient NVMe completions within host budget
2026-12-01 19:50:25 -08:00
pingqiuandClaude Opus 5.5 f9cca837b0 ci: named tests can be non-gating with an open issue; the preview fencing round is (#920)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 19:37:14 -08:00
pingqiu 935b7c46cb test: print each retryable completion and retry decision 2026-12-01 19:32:12 -08:00
Ping Qiu 1bc6096184 Merge pull request #912 from seaweedfs/test/hostlimit-handoff-bound
hostlimit: test, ticket waits bounded by their property
2026-12-01 19:29:15 -08:00
pingqiu 5ac568bc79 test: retry transient NVMe completions within host budget 2026-12-01 19:28:56 -08:00
pingqiuandClaude Opus 5.5 7f26eded1b hostlimit: test, two more ticket waits bounded by their property
- TestStalledEarlierTicketIsSkipped: instead of passing within 700 ms of
  the start, no attempt passes before the skip time and the first attempt
  begun after it passes (a 50 ms allowance for the skip judge's clock);
  the attempts' start times are printed. A loaded host's late polls no
  longer fail it (1.155 s seen on CI).
- TestUrgentProceedsPastAStalledProbe: the admission runs with an outer
  bound of ten hold waits (a block behind the probe would never return)
  and must take at least its hold wait, instead of at most hold wait +
  300 ms (1.153 s seen on CI).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 18:56:06 -08:00
pingqiuandClaude Opus 5.5 e74a4eccc2 ci: keep the process-level logs and shard results when a run fails
The harness already copies each failed test's full daemon logs to
SWBLOCK_TEST_LOG_DIR (keepFullLog), but the workflow never set it and
uploaded nothing, so a failure's evidence was lost with the runner's
temp directory. Set the directory and upload it, with every shard's
JSON, log and status, as an artifact on failure (14 days).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 18:52:02 -08:00
Ping Qiu eed6b08bbc Merge pull request #894 from seaweedfs/feat/v8-list-codecs
Persist session-owned lists and their consumption cursor
2026-12-01 18:38:29 -08:00
Ping Qiu 3b1b3ef3ac Merge pull request #907 from seaweedfs/fix/precopy-rate-floor
storage: a pre-copy rate sample survives an upload below the clock tick
2026-12-01 18:30:31 -08:00
pingqiuandClaude Opus 5.5 bf9cec70ec hostlimit: test, a hand-off's idle bound is the skip window
TestOneStalledTicketCostsOneSkipNotEveryHandoff bounded each hand-off's
idle gap at a fixed 200 ms, which a loaded runner exceeded (295 ms). A
hand-off that paid the stalled ticket's skip idles at least the skip
window, so that is the bound now; the failure prints every gap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 18:23:14 -08:00
pingqiu 3a5381eebc Merge remote-tracking branch 'origin/main' into feat/v8-list-codecs 2026-12-01 18:19:51 -08:00
Ping Qiu 3352749de7 Merge pull request #893 from seaweedfs/feat/v8-snapshot-generation
Add snapshot incarnation codecs and target-qualified delete helpers
2026-12-01 18:18:44 -08:00
pingqiuandClaude Opus 5.5 a6d1f4d93b storage: keep the floored payload sum out of the cut statistics
The tick-floored payload sum was an unexported field of ChunkCutStats, so
the layer statistics grew a field the cut body does not mirror (the
mirror test counts every field). The cut now keeps the sum locally and
hands it to samplePrecopy; ChunkCutStats is unchanged from main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 18:06:22 -08:00
Ping Qiu aeb0078902 Merge branch 'main' into feat/v8-snapshot-generation 2026-12-01 17:41:24 -08:00
pingqiuandClaude Opus 5.5 409e7cb522 Merge main into fix/precopy-rate-floor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:40:40 -08:00
Ping Qiu 4655664cf5 Merge pull request #903 from seaweedfs/fix/cgroup-unresolved-fallback
blockvolume: an underivable cgroup memory limit starts on the default
2026-12-01 17:40:12 -08:00
Ping Qiu a654ff23d0 Merge pull request #883 from seaweedfs/feat/v4b-pr4
storage: one-byte record kinds, the ref table, O(C) commits and no flat map on v1.1 (V4-B PR 4, commits 1-4 of 5)
2026-12-01 17:30:45 -08:00
Ping Qiu 72c2a63c33 Merge pull request #908 from seaweedfs/test/adopt-waits-frontend-ready
blockvolume tests: adopt waits for FrontendPrimaryReady before the first write
2026-12-01 17:25:23 -08:00
Ping Qiu f5444eb237 Merge pull request #895 from seaweedfs/feat/v5-incremental-build
authority: a heartbeat that changes nothing wakes no observation rebuild
2026-12-01 17:17:07 -08:00
Ping Qiu ce071bdbf1 Merge branch 'main' into feat/v8-snapshot-generation 2026-12-01 17:15:51 -08:00
Ping Qiu d14cf47fdf Merge branch 'main' into feat/v4b-pr4 2026-12-01 17:03:06 -08:00
pingqiuandClaude Opus 5.5 67f770d650 storage: floor each pre-copy payload interval, not their sum
The payload time sums several intervals (staging, the copy, the upload);
three that each ended below the clock's tick read zero although together
they took up to three ticks, so one floor on the sum overstated the rate.
Each interval now adds at least one tick to an unexported floored sum
that the rate divides by; the reported payload time is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:53:21 -08:00
Ping Qiu fb30cd8f80 Merge pull request #887 from seaweedfs/test/v11-format-tag
build: the draft v1.1 store format gets its own tag, apart from the cap lift
2026-12-01 16:52:06 -08:00
Ping Qiu 728ce66160 Merge pull request #901 from seaweedfs/fix/head-version-v11
layout: a v1.1 commit writes HEAD version 1, the manifest size known or not
2026-12-01 16:44:02 -08:00
pingqiuandClaude Opus 5.5 07b3d31697 blockvolume tests: adopt waits for the holder's frontend to admit I/O, not only a healthy primary
Fixes #905.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:44:01 -08:00
pingqiuandClaude Opus 5.5 10cbe8a5b0 storage: a pre-copy rate sample survives an upload below the clock's tick
samplePrecopy recorded a rate only when the round's payload time was
nonzero, so a round whose upload ended below the clock's resolution gave
no rate, and three such rounds left the estimate "samples_unknown". The
payload time is now floored at the coarsest clock resolution (1 ms): the
rate of a fast round is a lower bound, never missing or infinite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:40:45 -08:00
Ping Qiu cb945c4a73 Merge branch 'main' into feat/v8-snapshot-generation 2026-12-01 16:34:15 -08:00
Ping Qiu 616e9a0a2f Merge branch 'main' into feat/v5-incremental-build 2026-12-01 16:23:42 -08:00
Ping Qiu 578827ff1e Merge pull request #896 from seaweedfs/feat/v5-restart-grace
authority: renewals write nothing; waits use the master's own deadline; records are version 2
2026-12-01 16:23:10 -08:00
Ping Qiu fe3f484a88 Merge branch 'main' into fix/cgroup-unresolved-fallback 2026-12-01 16:21:04 -08:00
Ping Qiu 061a8cd302 Merge branch 'main' into fix/head-version-v11 2026-12-01 16:10:52 -08:00
pingqiuandClaude Opus 5.5 9c8b30b66f storage: the publication report leaves the generation check to noteSettled
main's HEAD-generation source guard allows a generation comparison only in
conditional updates and noteSettled's deduplication. The two report paths
added here compared generations before calling noteSettled; they now call
it and let it drop a report of an unchanged generation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:07:51 -08:00
Ping Qiu 6612fa036b Merge branch 'main' into feat/v8-snapshot-generation 2026-12-01 16:06:59 -08:00
pingqiu e0cbd1198d Refuse generic staging of snapshot delete intents 2026-12-01 15:58:06 -08:00
Ping Qiu 3798d42bd3 Merge branch 'main' into feat/v5-restart-grace 2026-12-01 15:56:03 -08:00
pingqiu 848effb9aa Check adopted intent ownership before publication 2026-12-01 15:55:01 -08:00
Ping Qiu c7aad8586d Merge pull request #899 from seaweedfs/fix/newer-version-exit
blockvolume: a newer HEAD or store format exits 78, not a restart loop
2026-12-01 15:54:20 -08:00
pingqiuandClaude Opus 5.5 7a70a7a1ca blockvolume: an underivable cgroup memory limit starts on the default
With neither --memory-limit-mib nor GOMEMLIMIT, a cgroup v2 limit that
cannot be derived (a membership outside the cgroup2 mount of the holder's
mount namespace, an unreadable or malformed memory.max) is the no-limit
case: the holder keeps the 256 MiB default and starts, instead of exiting
2. applyMemoryLimit, run once logging is configured, logs one level=WARN
line naming the derivation's error and the two ways to choose a limit, and
status reports the reason in Memory.SoftLimitFallback (empty otherwise).
Only an explicit but invalid limit still refuses.

Docs: the flag's help, the operator guide's memory section, the status
schema and the v1.1 notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:46:02 -08:00
pingqiuandClaude Opus 5.5 6c4bd8b231 Merge main into feat/v4b-pr4
Conflict: core/frontend/durable/provider_chunk.go imports only (main
dropped math/rand/v2; this branch's EachSegment fallback uses math).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:45:31 -08:00
pingqiu d3a0975aef Adopt intent pages before refreshed-base publication 2026-12-01 15:43:16 -08:00
pingqiuandClaude Opus 5.5 aa512ab6d4 blockvolume, volume: red tests, an underivable cgroup limit starts on the default
- A holder whose cgroup v2 limit cannot be derived (its membership is
  outside the cgroup2 mount of its mount namespace, or memory.max is
  unreadable), with neither --memory-limit-mib nor GOMEMLIMIT, must start
  on the 256 MiB default and record why (fails: exit 2 on the derivation
  error). An explicit but invalid flag still refuses.
- Applying that limit must log exactly one WARN naming the reason and the
  two ways to choose a limit, and status must report the reason; a derived
  limit logs nothing (fails: no WARN, status empty).
- Seams: flags.memoryLimitFallback, applyMemoryLimit (now called after
  logging is configured), ProcessMemoryStatus.SoftLimitFallback,
  volume.SetSoftLimitFallback / SoftLimitFallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:41:31 -08:00
Ping Qiu 18d80d93e7 Merge branch 'main' into fix/head-version-v11 2026-12-01 15:40:18 -08:00
Ping Qiu 2e81e41347 Merge branch 'main' into feat/v5-incremental-build 2026-12-01 15:35:55 -08:00
pingqiu f819d1f3b3 Persist snapshot deletion intent with its atomic unlink 2026-12-01 15:30:28 -08:00
Ping Qiu 45bee0b7c1 Merge branch 'main' into fix/newer-version-exit 2026-12-01 15:29:51 -08:00
Ping Qiu 4e4039e94e Merge pull request #898 from seaweedfs/fix/store-format-newer
storage: refuse a newer store format with a typed error and change nothing
2026-12-01 15:27:17 -08:00
pingqiuandClaude Opus 5.5 8ad9139fa6 layout: a v1.1 commit writes HEAD version 1, the manifest size known or not
HEAD's version followed the manifest size: a v1.1 commit by change over a
HEAD without a recorded size (an upgraded volume's first cut) left it at
version 0, a HEAD a v1.0 binary would read. A v1.1 commit now writes
version 1 whatever it knows of the size (CommitRequest.V11, set by the
layout remote on the v1.1 format), and a version-0 HEAD carrying a v1.1
manifest size is refused like one carrying ext.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:24:33 -08:00
pingqiuandClaude Opus 5.5 bbeb8d98aa authority: comments name the deadline barrier; gofmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:24:06 -08:00