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

fix(topology): use topology when decreasing replicas #906

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

tiagolobocastro
Copy link
Contributor

When removing volume replicas, take the pool topology into account and prefer to remove replicas which don't line up with the volume topology. This can happen when a volume's topology has been modified.

When removing volume replicas, take the topology into account and prefer to
remove replicas which don't line up with the volume topology.
This can happen when a volume's topology has been modified.

Signed-off-by: Tiago Castro <[email protected]>
@tiagolobocastro
Copy link
Contributor Author

Merging since openebs/mayastor#1799 means spread is already broken.
bors merge

bors-openebs-mayastor bot pushed a commit that referenced this pull request Jan 14, 2025
906: fix(topology): use topology when decreasing replicas r=tiagolobocastro a=tiagolobocastro

When removing volume replicas, take the pool topology into account and prefer to remove replicas which don't line up with the volume topology. This can happen when a volume's topology has been modified.

Co-authored-by: Tiago Castro <[email protected]>
@bors-openebs-mayastor
Copy link

Timed out.

@tiagolobocastro
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit 4cf58a5 into release/2.7 Jan 14, 2025
4 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the replica-dec-top branch January 14, 2025 18:58
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

Successfully merging this pull request may close these issues.

4 participants