Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended support of vshard errors #94

Open
nurzhan-saktaganov opened this issue Sep 26, 2024 · 0 comments
Open

Extended support of vshard errors #94

nurzhan-saktaganov opened this issue Sep 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nurzhan-saktaganov
Copy link
Collaborator

In some cases vshard error may contain field err.destinaion.
See: https://github.com/tarantool/vshard/blob/b6fdbe950a2e4557f05b83bd8b846b126ec3724e/vshard/router/init.lua#L665

But we don't support this field yet:

go-vshard-router/api.go

Lines 43 to 52 in b086a19

type StorageCallVShardError struct {
BucketID uint64 `msgpack:"bucket_id" mapstructure:"bucket_id"`
Reason string `msgpack:"reason"`
Code int `msgpack:"code"`
Type string `msgpack:"type"`
Message string `msgpack:"message"`
Name string `msgpack:"name"`
MasterUUID *string `msgpack:"master_uuid" mapstructure:"master_uuid"` // mapstructure cant decode to source uuid type
ReplicasetUUID *string `msgpack:"replicaset_uuid" mapstructure:"replicaset_uuid"` // mapstructure cant decode to source uuid type
}

@nurzhan-saktaganov nurzhan-saktaganov added the enhancement New feature or request label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant