mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
1be3c134ba285d0cf241ff0c90e4f72c042224c4
Round 40 follows up commit 370a0e8 (sw closed 3 of 4 framework gaps).
Adds 3 component-scope scenarios on top of the round-39 trio, bringing
T4c QA Stage-1 coverage to 6 scenarios / 11 matrix rows, all green.
New (round 40):
BarrierAchievedLSN_PartialProgress_DistinctFromCompletion
pins INV-REPL-CATCHUP-COMPLETION-FROM-BARRIER-ACHIEVED-LSN: a
catch-up that ships some-but-not-all entries MUST surface as
Success=false, distinct from a clean close at the same LSN, and
MUST NOT be conflated with ErrWALRecycled (engine retry/rebuild
branching depends on the sentinel distinction).
DeadlinePerCallScope_NoSpilling
pins INV-REPL-CATCHUP-DEADLINE-PER-CALL-SCOPE via two back-to-back
live-ship batches on the same wire. Reframed from the original
live-ship -> catch-up -> live-ship design after authoring revealed
a session-ID conflict (live-ship and explicit CatchUpReplica claim
sessionID=1 independently). Cross-orchestration form is forward-
carried to T4d alongside WithEngineDrivenRecovery.
LastSentMonotonic_WithinCall
pins INV-REPL-CATCHUP-LASTSENT-MONOTONIC at the within-call layer
using NewObservedScanWrap. Cross-call form (LastSentMonotonic_
AcrossRetries) requires WithEngineDrivenRecovery (T4d-stubbed)
so the engine drives multi-call retry with advancing fromLSN;
today CatchUpReplica restarts at fromLSN=1 every call.
Authoring observation: original DeadlinePerCallScope design hit a
sessionID=1 collision between live-ship and explicit CatchUpReplica.
Surfaced as forward-carry; the in-wire deadline-scope pin survives
the reframing intact.
Cumulative: 6 T4c QA scenarios / 11 matrix rows / all green.
Stage-2 m01 carry-over: LastSentMonotonic_AcrossRetries (engine-loop
form) waits on WithEngineDrivenRecovery wiring at T4d.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%