mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
66be344b545cb0ae6c0aed02ec2091e4774fc567
DESIGN r17.4 section 7 (O1-a), dark: - While installing, the v3 logical Sync returns exactly (0, ErrBaseInstalling): no batch, no new W; the gate is rechecked at the completion under the leader role. - SyncInstallLog(installID) on the narrow InstallLogSyncer (not on LogicalStorage): under installMu shared it refuses outside an install (ErrNotInstalling) or for another ID (ErrInstallIDMismatch), freezes the cut H, fsyncs the WAL and publishes W = max(W, H) with BaseState still installing, always mode A. A v2 store's SyncInstallLog is its Sync. - The receiver's sendAck uses it until the session's own BaseDone, then the ordinary Sync (the WAL lane can outlive BaseDone, r17.4). Controls: the gate, the refusals, mode A on a lagged store with a crash, the receiver's progress ack (tagged), and the receiver-only boundary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%