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

Scaling Down Replicas does not take into account pool topology #1785

Open
tiagolobocastro opened this issue Dec 17, 2024 · 0 comments
Open
Assignees

Comments

@tiagolobocastro
Copy link
Contributor

Describe the bug
Although modifying a volume topology is not currently available as a feature, we have suggested to a user modifying etcd under the hood.
Unfortunately when scaling down a volume replica count may remove first replicas which don't match the new volume topology.

To Reproduce

  1. Create pools with no topology and other pools with topology labels a=b
  2. Create 2-replica volume with no pool topology labels
  3. Publish volume
  4. Modify volume to add pool topology labels a=b
  5. Scale volume to 3 replicas
  6. Wait for rebuild
  7. Scale down to 2 replicas
    • Here it doesn't always work

Expected behavior
All else being equal, we should always prefer to remove replicas from pools with topology mismatched with volume.

@tiagolobocastro tiagolobocastro self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant