mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
A candidate prepared successfully and then refused because its proof went stale during the prepare's I/O was left in flight until reopen; both preparation paths now release it before returning ErrMapCoverageStale. A publication whose slot write and fsync succeeded but which a fault latched meanwhile refuses at its success boundary may still be named by the slot on disk. It is now recorded as uncertain, so its candidate stays pinned until reopen instead of being released for reuse. The map's file-size counter now follows every write and truncation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>