mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +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>
19 lines
440 B
AMPL
19 lines
440 B
AMPL
module github.com/seaweedfs/seaweed-block
|
|
|
|
go 1.25
|
|
|
|
require (
|
|
github.com/container-storage-interface/spec v1.12.0
|
|
github.com/golang/protobuf v1.5.4
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260120221211-b8f7ae30c516
|
|
golang.org/x/sys v0.40.0
|
|
google.golang.org/grpc v1.80.0
|
|
google.golang.org/protobuf v1.36.11
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
golang.org/x/net v0.49.0 // indirect
|
|
golang.org/x/text v0.33.0 // indirect
|
|
)
|