Commit Graph
127 Commits
Author SHA1 Message Date
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
Ping Qiu 13d0627043 Merge pull request #864 from seaweedfs/fix/holder-cgroup-memory
blockvolume: derive the default Go soft memory limit from its cgroup
2026-11-30 22:59:12 -08:00
pingqiuandClaude Opus 5.5 0ce226d22f docs: operator guide names remote_full and LastCutFailure for a full store
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 21:46:01 -08:00
pingqiu 987ac097eb docs: clarify cgroup v2 sizing and explicit memory configuration 2026-11-30 21:44:36 -08:00
pingqiu 60e482f978 blockvolume: derive the default Go memory limit from its cgroup 2026-11-30 21:40:44 -08:00
pingqiuandClaude Opus 5.5 3303097f58 docs: SeaweedFS capacity for block volumes, and what a full store reports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 21:14:10 -08:00
pingqiu 2fb4ffee6e fix(volume): a snapshot delete that loses its HEAD write is head_conflict
chunkErrorCode maps layout.ErrPrecondition (a catalog transition lost its
conditional HEAD write to another writer, such as a cleaning's begin) to
head_conflict, 409, retryable, as it maps the engine's HEAD precondition.
It answered internal before. The case sits with the HEAD-precondition one,
after every terminal and uncertain cause, so a joined error keeps its
precedence. The operator guide and the v1.0.1 notes say to retry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3a5de69079)
2026-11-30 08:06:07 -08:00
pingqiu 108bc97677 docs: operator guide states the 5-minute request bound, not measured figures
The restore-target delete and the snapshot timeout paragraphs keep the
contract that follows from the server's 5-minute bound for one request and
drop the figures measured before the performance round.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 8719e9cace)
2026-11-30 02:46:20 -08:00
pingqiu a224d22234 docs: v1.0.1 release note; drop the stale "coming in v1.0.1" lines
The note lists what v1.0.1 adds and fixes, its upgrade, limits and known
limits, checked against this branch. README, troubleshooting, the cleaning
page and the operator guide no longer call those changes unreleased; the
operator guide describes the CLI's own repeat of 5-minute requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e883ade9be)
2026-11-30 02:39:35 -08:00
pingqiuandClaude Opus 5.5 bbebfd2d6f docs: a cut-off replicated primary is not stopped by a lease and may serve stale reads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:34:35 -08:00
Ping Qiu f269e0ed2e Merge pull request #795 from seaweedfs/docs/master-uncertain-latch
docs(operator-guide): an uncertain workspace record refuses a volume's lease until blockmaster restarts
2026-11-29 20:18:16 -08:00
Ping Qiu a5896bd16c Merge pull request #804 from seaweedfs/docs/later-release
docs: v1.0.1 keeps 256 GiB volumes; replicated volumes and restore independence come later
2026-11-29 18:52:01 -08:00
pingqiu 5535a223f5 Merge #785 c60d320f into train/20261130-t2 2026-11-29 17:49:29 -08:00
pingqiuandClaude Opus 5.5 d37418840c docs: supported replicated volumes and restore independence come in a later release
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 16:44:41 -08:00
pingqiuandClaude Opus 5.5 8d519825fb docs(operator-guide): an uncertain workspace record refuses a volume's lease until blockmaster restarts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:36:29 -08:00
pingqiu c60d320f48 fix: retain partial cut work and failed preparation timings 2026-11-29 11:38:47 -08:00
pingqiuandClaude Opus 5.5 1ad3be0ebd docs: supported replicated volumes are planned for v1.1.0, not v1.0.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:57:26 -08:00
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