mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
eb4071ed05d25e18fd04ae4cbbafd1fb402fcddf
The component harness (cluster.go) constructed dual-lane executors with rid="r-%d" while the engine driver in dual_lane_engine_test.go sent AssignmentInfo / ProbeResult under "replica-%d". Pre-Phase-0- Fix-#1 this silently diverged: bridge keyed coord.PinFloor under "r-N", sink keyed WalShipper writeMu + post-emit RecordShipped under "replica-N". The rebuild barrier completed despite the keying mismatch (replica-driven BarrierResp), so the bug stayed invisible. Now that startRebuildDualLane fail-closes on a mismatched non-empty construction RID (commit11392ba), this drift surfaces as a hard error in TestDualLane_EngineDrivenRebuild_HappyPath / _WithPushLive DuringSession. Aligning the harness to the engine driver's "replica-%d" convention restores the invariant: construction RID == engine arg, coord/sink/bridge all keyed identically. Test assertions that probed the stale "r-0" key (lines 110, 197, 251 region) updated to "replica-0". Refs: INV-RID-UNIFIED-PER-SESSION (commit11392ba); v3-recovery-execution-institution.md Phase 0. 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%