mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
73e4c1c4c57e38b4b52115eea4423d8e7e102682
codex01 row 9b review (f08ee20c): the real Sender sends BaseDone from its
base lane while its WAL lane is still sending, but a completed install
refused every later WAL entry of the same session (the handle admitted
only while installing). DESIGN r17.4 (Claude01 ruling A):
- every begin bumps an install epoch; a handle is admitted only while no
later begin has run (checked under installMu shared);
- WriteBase stays installing-only under the handle's ID;
- ApplyInstallEntry is also admitted after the handle's own successful
MarkBaseComplete, while installed under its ID or retired, under the
8.1 order and gap rules;
- a later begin refuses the old handle with ErrInstallSuperseded, even
after both installs completed and retired.
Controls: the real receiver in the Sender order (BASE, WAL, BaseDone,
WAL, barrier), also across a crash and reopen; the store-level lifetime
control. Mutants: installing-only admission, no epoch check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%