Commit Graph
110 Commits
Author SHA1 Message Date
pingqiu ced7173011 verify canonical production volume directories 2026-11-29 00:01:57 -08:00
pingqiu a7bc8aa685 feat, status: bind counter windows to the live process identity 2026-11-28 21:49:22 -08:00
pingqiu 25e94b4bb1 feat, status: separate unknown HEAD outcomes from acknowledged writes 2026-11-28 21:49:22 -08:00
pingqiu 524df86aea test, status: export the HEAD census and cover cancellation boundaries 2026-11-28 21:49:21 -08:00
pingqiu efc446b90e feat, status: count acknowledged HEAD writes by census cause 2026-11-28 21:49:21 -08:00
pingqiu 74bb66fc99 fix, status: retain attempt age and publish one cut observation 2026-11-28 21:49:21 -08:00
pingqiu 3699af659f feat, status: expose the current cut phase without log parsing 2026-11-28 21:49:21 -08:00
pingqiu a5515a9be5 fix, logging: keep idle cut attempts at DEBUG 2026-11-28 21:49:21 -08:00
pingqiu 619f1de421 feat, logging: retain every cut attempt at INFO 2026-11-28 21:49:21 -08:00
pingqiu 9915ca8d61 test, logging: qualify failed and recovered cut timing spans 2026-11-28 21:49:21 -08:00
pingqiu ba933ec0c8 docs, logging: describe the enabled cut diagnostics and unknown outcomes 2026-11-28 21:49:21 -08:00
pingqiu d866004634 feat, storage: report existing cut phase timings at debug 2026-11-28 21:49:21 -08:00
pingqiu d00a1fd438 docs, logging: clarify debug plumbing and timestamp compatibility 2026-11-28 21:49:21 -08:00
pingqiu 52207a9bc5 feat, logging: add verbosity flags and UTC microsecond timestamps 2026-11-28 21:49:21 -08:00
Ping Qiu b31d7c05d3 Merge pull request #704 from seaweedfs/fix/cut-compare-marks
fix(storage): a failed cut's equal compares stay; pace only sent bytes
2026-11-28 15:22:06 -08:00
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
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 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 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
pingqiuandClaude Opus 5.5 f3c557d795 test(storage,durable): exact note matching; a refused pacing sends nothing
The insert census accepts only the call <receiver>.noteChunkMutation(<lba>)
on the insert's own receiver and first argument, as a plain statement
within the next two; controls for a method value, a condition, a defer,
another store and another LBA.

A pacing refusal on the layout path sends no chunk and fails the cut with
the limiter's cause. The provider's put returns the remote's error as is:
the layout remote keeps the pacing error and its name.

The guide's host-limit paragraph: only sent bytes are paced, and a rerun
sends only the chunks not yet stored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:49:55 -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
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
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
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
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
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
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 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
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 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
pingqiuandClaude Opus 5.5 4086f34221 docs: snapshot time, --timeout and what a timed-out snapshot leaves
A snapshot takes about 2 s per GiB changed since the last cut; the CLI
waits 60 s by default and the server at most 5 minutes per request.
State the answer codes of a timed-out request, what it leaves, and that a
rerun with the same name is the next step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:30:10 -08:00
pingqiuandClaude Opus 5.5 0391c68c20 docs: replicated preview, the v1.0.1 scope
v1.0.1 is planned to support RF3 sync-quorum installed on hosts (writes
continue through one replica's fault, which returns by itself) and RF2
sync-quorum with its limit (no acknowledged write lost, automatic failover,
writes stop while either replica is out); sync-all and Kubernetes RF3 stay a
preview; a partitioned old primary may serve older reads until its lease
ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:20:43 -08:00
pingqiuandClaude Opus 5.5 517c17c0ca docs: replicated preview, no snapshots, restore or moves
v1.0 is two designs: the single-replica walstore-chunk volume with the
object store (snapshots, restore, moves, object-store copy) and replicated
volumes on local stores without any of those. walstore-chunk refuses
replication at start and on any assignment with replica slots, because a
chunk snapshot takes its position from the local log, which replicas may
not hold. The preview section and the release note say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 07:17:26 -08:00
pingqiuandClaude Opus 5.5 352b9c93cc docs: replicated preview, the operator's procedure and its limits
- Acknowledged data is kept in the acknowledging modes only; best-effort
  can lose the writes acknowledged last in a failover.
- Wipe and add again is written out (stop the unit, clear its
  --durable-root, start it again; the replica rebuilds empty) and marked
  as not a tested procedure in this preview; an interrupted re-add needs
  another wipe.
- --wal-retention-lsns does not help in this release.
- Kubernetes has no remedy for a left-out replica in this preview.
- The release note says no store format change is planned for the
  release that lifts the preview, as a plan, not a guarantee.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 06:32:30 -08:00
pingqiuandClaude Opus 5.5 bc0e640e75 docs: replicated volumes are a preview in v1.0, with their limits
The operator guide gains "Replicated volumes (preview)", the standalone
page's replicated section points to it, and the release notes gain a
note. The limits, in operator terms: under a writing guest a replica that
misses writes (restarted, or fenced by a failover) is not caught up by
itself and must be wiped and re-added; a durability shortfall reaches the
guest as an immediate I/O error, not a wait; sync-all refuses writes while
any replica is down; a target that is no longer the primary does not fail
the guest over to another path (no multipath in v1.0); the same holds on
Kubernetes RF3. Acknowledged writes read back intact throughout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 06:21:15 -08:00
pingqiuandClaude Opus 5.5 c2a6227022 docs: host connect settings, a standalone holder that stops with its host up
The failover text covered only a lost host. When only the primary's
holder stops, the guest is still running and its I/O waits and then fails
as described (or completes if the holder restarts first); either way the
guest is started on the new primary's host after a failover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:33:36 -08:00
pingqiuandClaude Opus 5.5 21c2bfaa3e docs: host connect settings, the standalone guest moves with its primary
A standalone guest runs on the volume's primary host and goes down with
it, so the failover step is to start the guest on the new primary's host,
not to disconnect a controller first; the disconnect step is dropped. Both
measured timings stay as facts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:31:47 -08:00
pingqiuandClaude Opus 5.5 60d7012f71 docs: host connect settings, defaults by the same count, and which deployment
- Kernel defaults are 60 attempts (600 s / 10 s): about 600 s when the
  holder's host refuses the connection, and some 13 minutes (60 x (10 s +
  the ~3 s connect timeout)) when it is unreachable, marked derived. The
  Kubernetes paragraph says the same instead of "up to 600 s".
- Each case names its deployment: a standalone guest connects over
  loopback and meets the stopped-holder case and the disconnect step; the
  unreachable-host case is a guest on another host, in v1 a Kubernetes pod.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:26:25 -08:00
pingqiuandClaude Opus 5.5 06f3546909 docs: host connect settings, a dead host, and disconnect after a failover
Measured with the guide's options (ctrl-loss-tmo 180, reconnect-delay 2,
fast_io_fail_tmo off): a stopped holder process refuses each attempt at
once, and a pending write fails with EIO after 181.5 s (90 attempts 2 s
apart); a powered-off or unreachable host answers nothing, each attempt
waits for the connect timeout (about 3 s), and the write fails after
464 s (kato + 90 x (2 s + connect timeout)). Linux bounds the retries by
count, not by time.

After a failover the guest's first step is nvme disconnect of the lost
primary's controller: its pending I/O then fails at once (EIO 1.5 s
after the disconnect) instead of after up to 464 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:18:17 -08:00
pingqiuandClaude Opus 5.5 39f329d3b3 docs: a snapshot that answers head_conflict, and its retry
The operator guide says what to do when a snapshot answers head_conflict
(retry with the same name) and, in this release, when that retry answers
internal "not in HEAD after its commit" (retry once more): the data is
committed either way and the name exists only after a request succeeds. A
retry that names the snapshot at once is planned for 1.0.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 23:11:55 -08:00
Ping Qiu 1916a8d94c Merge pull request #662 from seaweedfs/docs/host-connect-settings
docs: host connect settings
2026-11-26 20:23:04 -08:00
Ping Qiu 127bbff374 Merge pull request #651 from seaweedfs/docs/automatic-failover
docs: a lost replicated primary is failed over automatically
2026-11-26 20:18:49 -08:00