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

Ensure correct working when node contains multiple replicas of single vdisk #654

Closed
ikopylov opened this issue Nov 8, 2022 · 0 comments · Fixed by #671
Closed

Ensure correct working when node contains multiple replicas of single vdisk #654

ikopylov opened this issue Nov 8, 2022 · 0 comments · Fixed by #671
Assignees
Labels
bug Something isn't working improvement

Comments

@ikopylov
Copy link
Member

ikopylov commented Nov 8, 2022

It is perfectly valid to place vdisk replicas on a single node, but on different physical disks. Currently, Virtual::get_operation (https://github.com/qoollo/bob/blob/master/bob-common/src/mapper.rs#L185) returns only the first physical disk containing vdisk replica. Thus quorum (https://github.com/qoollo/bob/blob/master/bob/src/cluster/quorum.rs#L35) and backend (https://github.com/qoollo/bob/blob/master/bob-backend/src/core.rs#L243) writes data only to that one replica and always skips the other ones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants