mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
The master's refusal of a restore whose snapshot names another volume's chunks carries a typed reason (an ErrorInfo detail, RESTORE_SOURCE_NOT_OWN) and the CLI maps it to its existing JSON code restore_source_not_own instead of the generic not_admitted. A volume the master does not know (NotFound from the resolve) exits with volume_not_found. A client decides by these codes, never by message text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>