mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
790dec338743d434647725bf8c5e987e4ff95ca4
chunkRemote gains CASHeadDelta and chunkCommitChecker CheckCommitDelta: the new HEAD's identity and the changed chunks (nil: zeros). LayoutRemote reads HEAD's current root and the changed shards' previous segments only, writes their new segments and the root (PrepareRootDelta), and looks up the new chunks, new segments and root; an unchanged segment is not read, written or looked up. Compile-time assertions bind LayoutRemote and MemChunkRemote to the seam; the durable provider's bound wrapper forwards both with its binding. The engine still calls the full-map CASHead and CheckCommit until V4-B, which removes them. The counting test: a one-chunk commit by change on three shards touches only the changed shard's segments, creating one segment and one root, and installs the HEAD the full commit of the same change would; the full commit touches every shard. 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%