mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
completeChunkRecord fences, reads the store's durable position after the fence, and writes the header (G = that position) only when every page is present, passes its check and is valid through exactly that position. The loader refuses positions ahead of the recovered store: an unfinished record must equal it, a complete record's G may not pass it, a page ahead of it is damaged. Pages carry the segment's candidate count, the segment name its published marks refer to, and the kernel table version (chunk-kernel/2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>