Commit Graph
3854 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 83dda5d2fe docs: v1.0.0 note: the cleaning pass starts at the first shard; planned=N
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:13:22 -08:00
pingqiuandClaude Opus 5.5 5644f47a51 docs: v1.0.0 known limit: the one-minute cleaning pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:09:06 -08:00
Ping Qiu fc69562e8c Merge pull request #698 from seaweedfs/docs/v100-full-read-fixes
docs: v1.0.0 note and operator guide: fixes from two full reads
2026-11-28 03:48:34 -08:00
pingqiuandClaude Opus 5.5 5aa8ce1c7b docs: replica wipe needs a dedicated root; figures bound to their records
The untested replica wipe needs a --durable-root that holds that volume
only: the data files' names can match another volume's in a shared root.
It removes the data files and the epoch table and keeps the replica floor.
Exit 75's causes are examples, assignment_timeout added. The blocked reads
with kernel defaults are 552 s and 614 s as recorded; the slowest guest
answer during a store outage was measured once and its record not kept.
The cut's ~30 s answer is the chunk upload deadline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:40:41 -08:00
pingqiuandClaude Opus 5.5 79f03962ab docs: v1.0.0 note and operator guide: fixes from two full reads
Removed GC and --grace text replaced by the holder's cleaning; the replica
wipe scoped to that volume's own files; outcome_unknown on a restore
target's delete means I/O stopped until settlement; the recovery point is
the last successful snapshot, not a one-day bound; snapshots above about
150 GiB changed need several requests and the schedule retries by itself;
Kubernetes timings scoped to NVMe/TCP; exit 75's causes; the restore CLI
row; the per-cut metadata depends on the volume name length; connection
age with gRPC jitter; the cluster-spec identity cure needs a restart;
throughput and memory figures qualified; the upgrade wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:28:21 -08:00
Ping Qiu ec825e5f48 Merge pull request #696 from seaweedfs/docs/v100-cut-metadata-size
docs: v1.0.0 note: per-cut metadata size from the measurement
2026-11-28 02:42:18 -08:00
pingqiuandClaude Opus 5.5 7d7d8c1b27 docs: v1.0.0 note: per-cut metadata size from the measurement
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:35:31 -08:00
Ping Qiu d78dce3ca4 Merge pull request #695 from seaweedfs/docs/v100-unref-roots
docs: v1.0.0 known limit: unnamed roots and segments kept until delete
2026-11-28 02:09:22 -08:00
pingqiuandClaude Opus 5.5 5a788ecb49 docs: v1.0.0 known limit: unnamed roots and segments kept until delete
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:01:32 -08:00
Ping Qiu 09ce470f57 Merge pull request #694 from seaweedfs/docs/v100-later-release
docs: name a release only for fixes on its list
2026-11-28 01:14:05 -08:00
pingqiuandClaude Opus 5.5 d5738ad232 docs: name a release only for fixes on its list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:06:22 -08:00
Ping Qiu 20102bc3be Merge pull request #693 from seaweedfs/docs/v100-seaweedfs-no-auth
docs: sw-block does not authenticate to SeaweedFS
2026-11-27 23:59:11 -08:00
pingqiuandClaude Opus 5.5 8ae6d05354 docs: sw-block does not authenticate to SeaweedFS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:51:01 -08:00
Ping Qiu 70a8b3d120 Merge pull request #692 from seaweedfs/docs/v100-refused-restore-release
docs: after a refused restore, release the target, then the never-served delete
2026-11-27 23:30:44 -08:00
pingqiuandClaude Opus 5.5 353927894a docs: after a refused restore, release the target, then the never-served delete
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:22:10 -08:00
Ping Qiu fa8faee072 Merge pull request #691 from seaweedfs/docs/v100-restore-target-delete-timeout
docs: --timeout for the first cut when deleting a restore target
2026-11-27 22:44:50 -08:00
pingqiuandClaude Opus 5.5 0c80ec3f6d docs: slower disks note; restore-target limit fix is planned for 1.0.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:36:40 -08:00
pingqiuandClaude Opus 5.5 c28e82f06c docs: one unit (GiB/s); retry at 5m, then the known limit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:35:22 -08:00
pingqiuandClaude Opus 5.5 f127bc4a98 docs: restore-target delete --timeout capped at 5m; first-cut known limit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:34:09 -08:00
pingqiuandClaude Opus 5.5 092aa8c69e docs: --timeout for the first cut when deleting a restore target
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:30:40 -08:00
Ping Qiu 5fa67424c5 Merge pull request #688 from seaweedfs/docs/v100-filer-capacity
docs: v1.0.0 note: keep free capacity in SeaweedFS
2026-11-27 21:27:45 -08:00
pingqiuandClaude Opus 5.5 0e6042a483 docs: v1.0.0 note: keep free capacity in SeaweedFS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:20:11 -08:00
Ping Qiu dbac027b5a Merge pull request #686 from seaweedfs/fix/max-volume-size
fix: refuse a new volume above the maximum size at both create doors
seaweed-block/v1.0.0-rc.3
2026-11-27 19:03:15 -08:00
Ping Qiu 3dcf21e6ac Merge pull request #687 from seaweedfs/test/weed-pick-at-start
test: pick each weed server's ports just before it starts
2026-11-27 18:40:59 -08:00
pingqiuandClaude Opus 5.5 be8df1f354 docs: the 256 GiB limit assumes a filer round trip under about 1 ms
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:39:34 -08:00
pingqiuandClaude Opus 5.5 586f7e442d fix: new volumes are at most 256 GiB in v1.0.0
MaxNewVolumeBytes is 256 GiB (65,536 chunks of 4 MiB), derived from the
measured number of chunks a commit checks within one 2 s update of HEAD,
halved and rounded down. The release note states the limit, why, that a
restore target takes its source's size, and that it is planned to be
removed in 1.0.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:36:43 -08:00
Ping Qiu bee6f7611c Merge pull request #681 from seaweedfs/test/weed-wait-retry
test: start the weed cluster again on fresh ports when a server never listens
2026-11-27 18:17:32 -08:00
pingqiuandClaude Opus 5.5 6b5f656247 test: pick each weed server's ports just before it starts
The three servers' port pairs were picked together before the master
started, and the filer binds its pair seconds later; a listener that
appears in between (another job's weed on the same host) took the filer's
gRPC port. Each pair is now picked right before its server starts. A
cluster with a fault-injection filer front gets the same fresh-ports
retry: its front is built again on each start's ports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:11:56 -08:00
Ping Qiu 8bcb9cb385 Merge pull request #685 from seaweedfs/fix/pending-unresolved-log
fix(durable): a capture refused as PendingUnresolved says so in the log
2026-11-27 18:11:32 -08:00
pingqiuandClaude Opus 5.5 57cfe0827f test: max volume size boundary at one block above, at both doors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:04:50 -08:00
pingqiuandClaude Opus 5.5 aa23975624 fix: refuse a new volume above the maximum size at both create doors
CreateVolume and the cluster-spec start check refuse a new volume above
geometry.MaxNewVolumeBytes with ErrVolumeTooLarge, naming the size and the
maximum, before any record or store exists. The check is at creation
only: a volume that already exists keeps opening under the uint32-LBA
limit. The value is a placeholder (MaxVolumeBytes) until it is set from
the measured capacity limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:58:23 -08:00
pingqiuandClaude Opus 5.5 71f52fa270 fix(durable): the PendingUnresolved line's cure names the process restart and the size limit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:46:47 -08:00
pingqiuandClaude Opus 5.5 33a331ffb9 fix(durable): a capture refused as PendingUnresolved says so in the log
A scheduled snapshot or periodic cut refused because an earlier HEAD
commit's outcome is unresolved logged only the raw error. Every later
cut, snapshot and detach of the volume is refused until that settles,
so the line now names the state (PendingUnresolved), its cause and the
cure, once per attempt, never per write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:43:51 -08:00
Ping Qiu 18a75b1668 Merge pull request #683 from seaweedfs/fix/commit-parallel-verify
fix(chunkstore): verify a commit's objects with bounded parallel lookups
2026-11-27 17:37:37 -08:00
pingqiuandClaude Opus 5.5 c5461c4ff8 test(chunkstore): gate-driven, bounded commit-check controls; name the held lock
Tests and ledger only; the product code is byte-identical.

- The cap oracle is the literal 32 (a 32 -> 64 change of the constant
  fails it: 64 in flight).
- Every wait is bounded, and each control's cleanup opens its gates,
  cancels and joins the commit, so a failing control returns promptly.
- The cancel control holds every admitted lookup past the cancellation
  until the test opens their exit: a commit that returns before that did
  not join them (a removed-join mutant fails), HEAD takes no update, and
  a keep-admitting mutant starts 502 lookups.
- The order control holds the earlier lookup until the later failure has
  fully returned and nothing else is in flight (a first-to-finish mutant
  fails both ways).
- invariants.md: the wait rows name the caller-held LayoutRemote.mu
  (CASHead, CommitPendingSnapshot).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:14:20 -08:00
pingqiuandClaude Opus 5.5 786f3a4d82 test(chunkstore): controls for the bounded commit check; wait and invariant ledger
Tests only, plus the ledger; the product code is unchanged.

- TestCommitLookupsNeverExceedTheCap: every lookup is held until the cap
  is reached; no 33rd starts (a cap-33 mutant fails it).
- TestACancelledCommitStopsJoinsAndWritesNothing: cancelled before any
  lookup and mid-flight, the commit returns within a bound with no lookup
  still running, admission stopped and HEAD not written (a mutant that
  keeps admitting after a failure starts 502 lookups and fails it).
- TestTheEarliestFailureByPositionDecidesTheError: of two failures the
  earlier position wins, whichever finishes first (a first-to-finish
  mutant fails it both ways).
- invariants.md: the admission and join waits of allOwnedBySession in
  C.W, and the scale, detach and control tests on
  INV-SNAPK-COMMIT-REACH-001.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:02:33 -08:00
pingqiuandClaude Opus 5.5 aebf06e8d9 fix(chunkstore): stop starting commit lookups after the first failure
Once a lookup fails, no new one starts: lookups start in order, so every
object before the failure has started and is waited for, and the first
failure in order is still the one reported.

The test object store's Stat is now safe for the concurrent lookups (its
hook runs outside the lock), and TestRunCommit_LooksUpOnlyWhatIsNew
compares the set of objects looked up, not their order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:51:09 -08:00
pingqiuandClaude Opus 5.5 3630f277d6 test(chunkstore): a detaching commit of many new chunks completes within the budget
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:31:23 -08:00
pingqiuandClaude Opus 5.5 13784a3bcd fix(chunkstore): verify a commit's objects with bounded parallel lookups
RunCommit checked every new own chunk, every segment and the root with
one filer lookup each, one at a time, before its conditional update. The
work grows with the proposal and the cut's deadline does not: a first
snapshot of a 1 TiB volume names all 262,144 chunks, and each attempt
(and each re-proposal, and a restart's next commit) ran out of the 5 min
cut context around chunk 250k, so no retry could ever land.

The check now runs at most 32 lookups at once. It is unchanged in what
it decides: every object must be written by this session and unmarked,
the first failing object in the same order decides the error, and no
update is issued unless all pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:26:30 -08:00
pingqiuandClaude Opus 5.5 dd2e8a8517 test: start the weed cluster again on fresh ports when a server never listens
A start whose master gRPC port is held by another listener never brings
up its filer; the wait for a listening server stopped the test with
t.Fatalf before the fresh-ports retry could run. The start now returns that
error, so it is discarded and started again like a start that never
accepts a write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:38:08 -08:00
Ping Qiu 6ba69c56c0 Merge pull request #680 from seaweedfs/docs/v100-host-loss-window
docs: v1.0.0 note states the default host-loss window up front
2026-11-27 14:38:00 -08:00
pingqiuandClaude Opus 5.5 b38e81a8d3 docs: v1.0.0 note states the default host-loss window up front
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:20:54 -08:00
Ping Qiu 90f2cab4e8 Merge pull request #677 from seaweedfs/docs/release-v1.0.0
docs: v1.0.0 release note
2026-11-27 14:18:50 -08:00
Ping Qiu 6e10314aec Merge pull request #675 from seaweedfs/docs/replicated-preview
docs: replicated volumes are a preview in v1.0, with their limits
2026-11-27 13:37:05 -08:00
pingqiuandClaude Opus 5.5 88d107791f docs: confirm the left-out replica before a wipe; never on the primary's host
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:27:37 -08:00
pingqiuandClaude Opus 5.5 c64eafec9e docs: a best-effort volume is not failed over automatically
blockmaster holds a best-effort volume on a lost primary; only the
operator's forced failover moves it, which may lose the writes
acknowledged last.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:20:42 -08:00
pingqiuandClaude Opus 5.5 877a5e4395 docs: periodic HEAD cuts are off by default
--chunk-capture-interval defaults to 0 (no timer); when set it must be at
least 5 minutes. The design text still said 15 minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:08:59 -08:00
pingqiuandClaude Opus 5.5 63daf16d90 docs: under best-effort a lagging replica can still show healthy
A best-effort write waits for no replica, so a replica whose connection
dropped can keep showing healthy while it misses writes; use sync-quorum
when the replicas must hold the data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:51:41 -08:00
pingqiuandClaude Opus 5.5 ee158b11cd docs: host-limit-dir stuck path stated plainly; rerun keeps uploads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:40:48 -08:00
pingqiuandClaude Opus 5.5 55f141ad87 docs: a snapshot rerun reuses uploaded chunks; host-limit pacing ceiling
A rerun finds the chunks a timed-out request already uploaded and sends
only the rest. With --host-limit-dir set, uploads are paced at about
16 MiB/s per volume and charged for present chunks too, so more than about
4.7 GiB changed cannot finish within 5 minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:39:26 -08:00