mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
8e30a497fffb85f72cbdd70e253f828b4b3446e0
Per QA T4d-2 final closure: pre/with-T4d-3 doc fixes. apply_gate.go (lines 38-43): the godoc on ReplicaApplyGate still described "lane discrimination" as the gate reading lineage.TargetLSN — that text predated the round-46 rework. Replaced with a clear statement of the lane-pure contract: - Gate is LANE-PURE; caller decides - Caller invokes ApplyRecovery vs ApplyLive explicitly - Gate does NOT inspect lineage payload to discriminate - Today's caller (transport replica.go) uses a transitional TargetLSN-based shim — but the shim lives at the CALLER - The architectural fence (gate is lane-pure) is durable; the caller's signal source is replaceable - Reference to CARRY-T4D-LANE-CONTEXT-001 for the future fix replica.go NewReplicaListenerWithApplyHook godoc: previously described `hook.Apply(lineage, lba, data, lsn)` as the dispatch mechanism — that signature no longer exists post-round-46. Replaced with: - Handler dispatches caller-side to hook.ApplyRecovery / hook.ApplyLive - Hook itself is LANE-PURE - Today's caller-side decision is a transitional shim based on TargetLSN==liveShipTargetLSNSentinel - Reference to CARRY-T4D-LANE-CONTEXT-001 Both godoc updates inscribe the architectural fence + name the named carry by ID so future readers find the gap tracking via catalogue cross-reference. 22 packages green; 0 failures. Refs: round-46 architect ruling (lane-pure gate); CARRY-T4D-LANE- CONTEXT-001 (catalogue §3.3 — QA-inscribed named carry). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%