Commit Graph
142 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 fcf6b0ec41 Merge main (#955) into the snapshot operations
The holder's maintenance now consumes a published delete intent, so a
delete behind an earlier one resumes once its intent is consumed. The
model-code trace keeps both sides' new rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 08:41:21 -08:00
pingqiu ede1e4d3b0 perf: reserve uncontended WAL appends without a queue ticket 2026-12-02 06:34:21 -08:00
pingqiuandClaude Opus 5.5 b7d84cbd39 snapshot delete: route on the HEAD version in the CLI and the holder
One shared predicate routes a delete by name on the HEAD's version at
either format level: on a version-0 HEAD the default call is v1.0's
name-only delete, and an explicit --request-id or --gen is refused
typed with nothing written until the volume adopts v1.1; on a version-1
HEAD it is an operation delete. The holder runs its HEAD writes at its
assigned level (DurableProvider.FormatLevel). Controls pin the holder's
version-0 route at both levels, its one resumed operation and terminal
receipt, every operation-tree write on an absent HEAD, and the
receipt behind the CLI's printed id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 06:25:47 -08:00
pingqiu 7f1468973d docs: preserve UTF-8 in transport contract edits 2026-12-02 06:12:42 -08:00
pingqiu f43a47105a fix: keep device write budget out of FUA sync 2026-12-02 06:11:47 -08:00
pingqiuandClaude Opus 5.5 1f8969b809 sw-block: snapshot-delete names its incarnation and can pin it
The delete prints the incarnation it resolved (name@gen) with its
request id, and the no-wait answer carries it; --gen deletes only that
incarnation and is refused typed when the name holds another. Retries
inside one invocation keep the id and the incarnation; a new invocation
resolves the name again, and a recreated name is what it deletes. The
name-only primitive (an old client's) still refuses a v1.1 HEAD. The
snapshot operation commit passes the shared format guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 05:50:01 -08:00
pingqiu 7bd43c8604 fix: retain command arrival priority between WAL batches 2026-12-02 05:17:35 -08:00
pingqiu 22e75f5bfa fix: scope FIFO admission to store appends 2026-12-02 05:06:15 -08:00
pingqiu 5365a2d106 fix: keep final-error device writes outside retryable WAL holds 2026-12-02 04:52:08 -08:00
pingqiu 9b1314805c fix: hold WAL writes through reclaim progress with command FIFO 2026-12-02 04:12:10 -08:00
pingqiu 56289b4fdb feat: distinguish final-error device WAL hold windows 2026-12-02 04:12:10 -08:00
pingqiu 84111fd66f feat: validate declared host timeout against WAL hold cap 2026-12-02 04:12:10 -08:00
pingqiu e70a7f9a6f feat: bound snapshot receipts with an index-first retirement protocol 2026-12-01 18:48:51 -08:00
pingqiu dce2813b33 docs: clarify bounded snapshot receipt retention contract 2026-12-01 18:48:40 -08:00
pingqiu c60d9421eb test: expose stale snapshot publication after owner readmission 2026-12-01 18:48:40 -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
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