mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
8a886ff6da58ef7b255022f02898a089ddce3bed
The driver walks (64 MiB/s, BackgroundFill), cuts bounded batches (64 chunks) until no foreign ref is left, then writes RESTORE-INDEPENDENT (M6.Restore Restoring>Hydrating>Owning>Owning>Independent). It decides only from the target's VOLUME, HEAD and marker, so a rerun resumes from the remote state and a deleted source is a normal state. POST /chunk/restore starts or joins one background run per volume and returns its status; GET (or statusOnly) reports it; sw-block ops chunk restore calls it. Docs: M6 restore rows, INV-RESTORE-OWN-BATCH-001 and INV-RESTORE-DRIVER-001, the restore quantities, the workspace design diagram. 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%