mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
c71a2cbc02b13684fbe2c77b65845d490b43d0fa
Adds ImplWALStoreChunk ("walstore-chunk"): a walstore volume with the
storage chunk layer attached. On disk it is a walstore file, so the
selector accepts the walstore magic; it refuses other formats.
- ProviderConfig: ChunkRemoteFor (required for this impl), ChunkBlocks
(default 1024), ChunkHolder (default the replica ID),
ChunkReadMissTimeout, ChunkCaptureInterval (periodic cut; 0 = off).
- The layer attaches in RecoverVolume after a successful Recover (the
restart rules read the replayed dirty map). A volume this provider
created starts from the remote HEAD; an existing one stays
authoritative. The manifest epoch is the projection's master-assigned
epoch, held separately from the frontend Identity. A cut is admitted
only while the projection is healthy for the volume.
- CaptureVolume and MakeVolumeRemoteDurable; Close stops the cut loop
before the stores close (the store closes the layer).
Storage gains the exported surface the provider needs (aliases of the
seam types plus AttachChunkLayer), FileChunkBitmapStore (atomic,
checksummed state file plus an append-only delta log; a corrupt file
reads as lost, which falls back to the hash compare) and MemChunkRemote
(an in-memory remote for development and provider tests).
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%