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

Proper handling of write errors when a node contains multiple vdisk replicas #818

Open
ikopylov opened this issue Jun 23, 2023 · 0 comments
Labels
feature New feature or request

Comments

@ikopylov
Copy link
Member

After the request #671 will be merged, we start supporting multiple vdisk replicas on the same node, but this support is limited in terms of error handling. If write to the node with multiple vdisk replicas ends with error, then only one copy in aliens will be created, so the number of copies can be less than specified quorum value. Also, if writing to one of the replicas on the node ends with an error, but the rest goes well, then there is no way to pass this information to the cluster level.

We should implement error handling properly with passing all required data to the cluster level (https://github.com/qoollo/bob/blob/master/bob/src/cluster/quorum.rs). This may require changes to the gRPC protocol, and may also require changes to the logic for placing of the aliens on disk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant