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

Unit scale down failure #137

Closed
nsklikas opened this issue Sep 26, 2023 · 1 comment
Closed

Unit scale down failure #137

nsklikas opened this issue Sep 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@nsklikas
Copy link
Contributor

nsklikas commented Sep 26, 2023

Bug Description

When scaling down a unit, the relation departed/broken event is triggered. This causes the unit to try to remove the migration version from the peer databag. If the unit is not the leader then this raises an error.

This is also wrong because if the unit is scaled down, then it should not try to clean up the migration version as other units are still connected with the database.

To Reproduce

juju scale-application hydra 3
juju scale-application hydra 1

@nsklikas nsklikas added the bug Something isn't working label Sep 26, 2023
@syncronize-issues-to-jira
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/IAM-513.

This message was autogenerated

nsklikas added a commit that referenced this issue Sep 26, 2023
nsklikas added a commit that referenced this issue Sep 26, 2023
nsklikas added a commit that referenced this issue Sep 27, 2023
nsklikas added a commit that referenced this issue Sep 28, 2023
bencekov pushed a commit that referenced this issue Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant