Commit Graph
3905 Commits
Author SHA1 Message Date
Ping Qiu 812798b5ef Merge pull request #717 from seaweedfs/docs/upgrade-v1.0.1
docs: upgrade from v1.0.0 to v1.0.1
2026-11-28 14:54:31 -08:00
Ping Qiu c295031dff Merge pull request #720 from seaweedfs/ci/csi-process-coverage
ci: require CSI real-binary process tests
2026-11-28 14:52:23 -08:00
Ping Qiu 5d9d8fd0dc Merge pull request #721 from seaweedfs/docs/backup-warning
docs(operator-guide): SeaweedFS's S3 backup sink is not a backup of a block volume
2026-11-28 14:50:47 -08:00
Ping Qiu 79a7801a9d Merge pull request #689 from seaweedfs/fix/fresh-fill-clean
fix(storage): a chunk filled from HEAD is not a cut candidate while unchanged
2026-11-28 13:59:34 -08:00
Ping Qiu 68f0838b5e Merge pull request #716 from seaweedfs/docs/readme-rewrite
docs(readme): rewrite: pitch, two-path diagram, why, chart
2026-11-28 13:54:42 -08:00
pingqiuandClaude Opus 5.5 2422388689 docs(upgrade): stage, check, then rename each binary into place
install unlinks and copies, so a unit starting during the copy could find a partial file; a staged file renamed in the same directory is atomic. The same for blockmaster and the CLI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:29:08 -08:00
Ping Qiu be1f66983e Merge pull request #718 from seaweedfs/test/csi-create-rf-fixture
test: align CSI create fixture with master replication factor
2026-11-28 13:28:33 -08:00
pingqiuandClaude Opus 5.5 278f37381a docs(upgrade): per host, cut each volume, replace the binary, restart each holder
The documented restart without a hand-over is the procedure; the cut is recommended, not required; seal and move stay optional.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:24:27 -08:00
pingqiuandClaude Opus 5.5 f45d12dd41 docs(upgrade): step 2's other answers and what to do
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:22:50 -08:00
pingqiuandClaude Opus 5.5 a87ffd8354 docs(operator-guide): the backup-sink warning states the measured facts only
Measured with SeaweedFS 4.53: the S3 sink copied the bytes but no entry attribute, the copy did not open, and three attribute-only updates of a 4 MiB chunk sent three full uploads. The unmeasured remote-storage and second-filer statements are dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:19:26 -08:00
pingqiuandClaude Opus 5.5 27a470afd6 docs(operator-guide): the S3 sink drops the attributes; remote storage writes them as tags
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:03:31 -08:00
pingqiuandClaude Opus 5.5 aacaff3a55 docs(upgrade): conditional snapshot, conditional restart timing, a successful empty pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:55:03 -08:00
pingqiuandClaude Opus 5.5 b9bfae4b81 docs(operator-guide): SeaweedFS's copy tools are not a backup of a block volume
The S3 backup sink loses the entry attributes on the way back and re-uploads whole chunks on each entry update; a second filer copy is consistent only for a sealed, idle volume after it caught up. Snapshot export and import are planned for v1.0.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:53:27 -08:00
pingqiuandClaude Opus 5.5 8f3ddc1990 docs(readme): 'took about 2.2 times as long'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:44:03 -08:00
pingqiuandClaude Opus 5.5 6e181f939a docs(readme): the flush figures compare both sides with their flush
11-23% is the block disk with its syncfs against the local disk with its syncfs, for npm ci, git clone and the 100,000-file untar; untar of 5,000 files is about 2.2 times.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:44:03 -08:00
pingqiuandClaude Opus 5.5 636009705b docs(readme): provenance, flush-inclusive figures, ownership, no comparison yet
The workload rows are a pre-release walstore build timing the operation
itself; the page and the measurements give the figures with the final
syncfs too (11-23% for the README rows; 4-36x against the FUSE
prototype, now described as such). The recovery point is 'normally about
a day', not a bound. A write does not wait on SeaweedFS except a restored
volume's first fetch of a chunk. Ownership names lease admission and the
one-blockmaster rule beside the HEAD fencing. The fault-injection record
states its scope and the night's other failures. The comparison table
leaves the page until others' names and sources can be public.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:44:03 -08:00
pingqiuandClaude Opus 5.5 b8eff10315 docs(readme): recovery point beside the claims; fsync scope; NVMe/TCP rows
With the default settings a lost host loses up to about a day of writes:
the pitch and the first line of status say so, with the flag that
shortens it. The fsync point is scoped to the serving host. The FUSE
factor is one implementation on the same host, in its own point. The
chart and table lead with NVMe/TCP (ublk is not a v1.0.0 frontend); the
diagram names NVMe/TCP or iSCSI and the daily default. The chart's axis
fits every bar, and the script refuses a value beyond it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:44:03 -08:00
pingqiuandClaude Opus 5.5 1fa6bec4b2 docs(readme): keep the chart script with its data under docs/assets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:44:03 -08:00
pingqiuandClaude Opus 5.5 b1b08135e5 docs(readme): rewrite: pitch, two-path diagram, why, chart, comparison
The page leads with what the product is for and a diagram of the write
path and the background path; install and the first check come next;
then why (each point linked to its evidence), the measured chart and
table, a comparison by design category, and status and limits. The
remaining sections are kept as they were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:44:03 -08:00
pingqiuandClaude Opus 5.5 60abd75d70 docs: hero diagram, measured-results chart, FUSE and fault-injection records
The hero shows the write path (acknowledged on the local WAL) and the
background path (cuts to SeaweedFS, HEAD conditional update), with light
and dark colours. The chart is drawn from a checked-in CSV by
scripts/readme-chart.py (--check fails when an SVG is stale).
workspace-measurements.md gains the same run against a FUSE file system on
the same host and the release candidate's fault-injection durability count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:44:03 -08:00
pingqiuandClaude Opus 5.5 4555c61547 docs(upgrade): what the guest sees; the orphan check after a pass removes nothing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:43:22 -08:00
pingqiuandClaude Opus 5.5 1d410f8ccb docs: a stop does not cut; run the cut first
The operator guide's recovery point and the upgrade page's cut step say that systemctl stop and restart publish nothing, so the cut runs first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:42:13 -08:00
pingqiu 7a9387982a ci: require CSI real-binary process tests 2026-11-28 12:41:58 -08:00
pingqiuandClaude Opus 5.5 f8469b7f45 docs(upgrade): name the format guarantee as the remote image and the log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:39:22 -08:00
pingqiuandClaude Opus 5.5 0e62df8160 docs(upgrade): the in-place restart is the procedure
A volume host's upgrade is a restart on the new binary: install it once
per host, then for each volume a cut (best effort) and a restart of its
unit, which replays the WAL and serves again within its lease. Any holder
that restarts after the swap comes up as v1.0.1, which is supported.
Seal-and-move stays as an optional alternative.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:39:01 -08:00
pingqiuandClaude Opus 5.5 7861509c9d docs(upgrade): verify without orphans first; binary install; seal limits
Right after the upgrade, verify without --orphans: v1.0.0 left old roots
and segments that v1.0.1's cleaning removes over its first passes; the
orphan check runs after that. The binary is replaced with install (a new
file), once per host. The seal runs with v1.0.0's limits, which the
snapshot before the upgrade keeps small, and a repeated seal is safe. The
start command is ready before the move; the v1.0.0 CLI works in the mixed
window; the release-note link waits for the note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:37:10 -08:00
pingqiu db5a4e3b05 test: match CSI provisioning fixture to its replication factor 2026-11-28 12:34:14 -08:00
pingqiuandClaude Opus 5.5 a9b355df27 docs: upgrade from v1.0.0 to v1.0.1
The documented procedure: blockmaster first, then each volume host one
at a time through the planned return to the same host with the binary
swap in the middle, the CLI last; resuming after an interrupted step;
downgrade not supported, and never serve a volume above 256 GiB with
v1.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:31:47 -08:00
Ping Qiu 5d6c0883e9 Merge pull request #690 from seaweedfs/fix/plain-settle-reserve
fix(durable): a plain detach keeps a settlement reserve inside the caller's bound
2026-11-28 12:29:28 -08:00
Ping Qiu 539771a86f Merge pull request #714 from seaweedfs/docs/readme-v100-facts
docs(readme): v1.0.0 facts: install, maturity, cleaning, measured rows
2026-11-28 12:19:27 -08:00
pingqiuandClaude Opus 5.5 7d7eee18c6 docs(readme): one name for the restored volume; commands are for v1.0.0
The lifecycle example restored into v3 and then deleted v2, which a
reader following it does not have; it now deletes v3. Install says the
page's commands are for v1.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:00:57 -08:00
pingqiuandClaude Opus 5.5 145e7c8fe8 docs(readme): v1.0.0 facts: install, maturity, cleaning, measured rows
Install from the v1.0.0 image (or build from the tag), not a main
commit's image; the single-replica chunk path is supported in v1.0.0 and
replicated volumes are a preview; the holder's cleaning replaces the old
GC text; the fork measurement is dropped, and the lifecycle row is
labelled as a pre-release run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:56:46 -08:00
pingqiuandClaude Opus 5.5 443446f35b docs(invariants): bind the clean-fill guard tests to INV-WAL-V3-CAPTURE-CANDIDATES-001
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:48:01 -08:00
pingqiuandClaude Opus 5.5 18e7f6136f fix(storage): a clean-fill record also ends with its HEAD ref; guard tests
The record now holds the HEAD ref the chunk was filled from as well as its
version, and holds only while both are unchanged, so a HEAD that no longer
names that ref makes the chunk a candidate whatever replaced it. The
version at the fill's start is read under the end check's lock.

Guard enumeration: a write, a flushed write, single- and multi-block
batches, a replicated entry and a recovery each bump the chunk's version
and make it a candidate again; a BASE install ends every record.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:48:00 -08:00
pingqiuandClaude Opus 5.5 68ddd3bd92 fix(storage): a chunk filled from HEAD is not a cut candidate while unchanged
A fresh-from-HEAD volume (a restore target) fills a chunk from HEAD on
read, but its owned-map entry stays UNKNOWN, so every filled chunk was a
cut candidate: the next cut re-read and re-hashed it locally only to find
HEAD's bytes. A target read back in full made its detach's final cut as
long as reading the whole volume, with nothing to upload.

fillOnce records the chunk's version when it filled the chunk wholly from
HEAD with no local block and no mutation during the fill; captureCandidates
does not count UNKNOWN alone for such a chunk while that version holds.
Memory only, reset by a BASE install; the UNKNOWN bits are untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:48:00 -08:00
pingqiuandClaude Opus 5.5 6a259ea479 docs: the plain seal's cut keeps a settlement reserve inside --timeout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:45:20 -08:00
Ping Qiu 11059ca0ae Merge pull request #707 from seaweedfs/fix/status-server-immediate-close
Fix status server panic during immediate shutdown
2026-11-28 11:40:52 -08:00
Ping Qiu feb2bc6c74 Merge pull request #708 from seaweedfs/test/slow-host-test-bounds
test: bound each NVMe command and give the review helper a hang guard, not a fixed budget (slow hosts)
2026-11-28 11:38:20 -08:00
Ping Qiu f4fb1ac4f7 Merge pull request #701 from seaweedfs/test/counting-remote-race
test: lock countingRemote's counts; the chunk layer puts in parallel
2026-11-28 11:07:25 -08:00
pingqiuandClaude Opus 5.5 16c8f86864 test: bound each NVMe command, and give the review helper a hang guard, not a 10 s budget
- The NVMe initiator renews its deadline (nvmeIODeadline, 60 s) before every
  I/O command, so it bounds each command instead of the connection's whole
  life: requireBlocks' 65,536 reads no longer race one dial-time deadline.
- reviewBindingHostBeforeStart's context is a hang guard for the whole test
  (60 s, was 10 s), so a slow host's setup does not use up the time the
  later calls and the successor probe need.

TestNVMeInitiatorDeadlineBoundsEachCommand and
TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pass; test-only,
no product change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:05:22 -08:00
pingqiuandClaude Opus 5.5 2095acfd7a test: red: a slow host's setup and a full-volume read outlast fixed test bounds
Two tests fail on a slow host while CI passes (a WSL run with its scratch
on a mounted Windows drive). Both fail because a fixed bound in the test,
not the product, runs out:

- TestWorkspaceRPCSameHostForcedRecoveryRecordsLoss: the successor probe and
  the later calls run under reviewBindingHostBeforeStart's 10 s context, and
  a slow setup uses it up ("signal: killed"). The new
  TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pauses 11 s
  before the probe (both clocks the test reads are fake, so no lease
  changes) and fails on main on any host.
- TestCutoverWriteSnapshotKillRestartRestore: the NVMe initiator sets one
  deadline at dial (60 s) and requireBlocks then reads all 65,536 blocks on
  that connection. The new TestNVMeInitiatorDeadlineBoundsEachCommand shortens
  the deadline (now the variable nvmeIODeadline) to 2 s, idles 2.5 s and
  reads one block: it fails on main on any host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:05:01 -08:00
pingqiu 6e967bc8b4 keep status regression in the existing unit suite 2026-11-28 08:49:53 -08:00
pingqiu 10addd3f10 run status listener regression in race CI 2026-11-28 08:48:14 -08:00
pingqiu aee474665e fix status server immediate shutdown race 2026-11-28 08:41:33 -08:00
Ping Qiu 25a3b755dc Merge pull request #706 from seaweedfs/docs/verify-known-limit
docs: do not recommend ops chunk verify in v1.0.0
seaweed-block/v1.0.0
2026-11-28 08:00:11 -08:00
pingqiuandClaude Opus 5.5 c219ef79c1 docs: do not recommend ops chunk verify in v1.0.0
ops chunk verify does not read the v1.0.0 volume directory layout: on a
healthy volume it reports a missing VOLUME, or (by its full name) false
identity findings. Remove its steps and claims from the guides and the
README, and state the limit in the release note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 07:44:58 -08:00
Ping Qiu b3d875b79e Merge pull request #702 from seaweedfs/docs/v100-cleaning-timing
docs: v1.0.0: when the cleaning runs after a snapshot delete
2026-11-28 06:24:22 -08:00
pingqiuandClaude Opus 5.5 4b41323c13 docs: v1.0.0: when the cleaning runs after a snapshot delete
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 06:16:30 -08:00
Ping Qiu 91b3b97548 Merge pull request #700 from seaweedfs/docs/v100-cleaning-bound
docs: v1.0.0 known limit: the one-minute cleaning pass
2026-11-28 04:21:12 -08:00
pingqiuandClaude Opus 5.5 be32061728 test: lock countingRemote's counts; the chunk layer puts in parallel
countingRemote.Put updated its counts and seen map with no lock while
the chunk layer's upload workers call Put in parallel; a main run aborted
with "concurrent map writes". The counts are now under a mutex, and the
read of the upload count inside the cut is too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:18:08 -08:00