mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
a292f142ccdd9cc57b85ed3affb38f73a248381c
The retry released selfFenceMu before completing a skipped supporting assignment, and only supporting completions took the lock that ordered it, so a newer self-primary or excluding fact could act in between; the retry then ran supportingAdmitted for the old epoch (clearing the primary watchdog) and emitted an old ready marker. The retry now completes under selfFenceMu, and every fact records its epoch under that lock at the very start of applyFact, before it acts at all (the watchdog runs before the role call); the retry completes only while no newer epoch was seen. A newer fact waits at that record until the completion is done. Only the record is under the lock, so facts applied concurrently by design do not nest it. 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%