Files
seaweedfs/seaweed-block/go.mod
T
pingqiuandClaude Opus 5.5 58c5a47243 fix(sw-block): typed codes for a foreign-source restore and an unknown volume
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>
2026-11-29 00:55:36 -08:00

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
)