mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
Every chunk's state in memory, changed only through the kernel. Every event dirties its page (a write that keeps the state still moves the chunk's store position); an evict writes its page before Apply returns, so the bytes are dropped after it. Pages are written on their own schedule (a count of changed entries or an age), valid through the applied position the shell raises after each write's Apply; Flush writes the header only when every page is clean after the page writes. WriteThrough writes the dirty pages below a chunk, for the upgrade pass. No caller yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>