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

[DPE-3887] Add log for fix_leader_annotation method #678

Closed

Conversation

marceloneppel
Copy link
Member

Issue

We don't know all the moments when the leader annotation is fixed (we know that one situation - expected - is after a scale down to 0 units and then a scale up to 1 unit), which causes the cluster_initialised flag to be removed from the peer relation data.

Solution

Add a log for the fix_leader_annotation method.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
@marceloneppel marceloneppel deleted the dpe-3887-add-log-for-fix-leader-annotation branch September 3, 2024 16:38
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.73%. Comparing base (63057a7) to head (e2d5bb9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #678   +/-   ##
=======================================
  Coverage   70.72%   70.73%           
=======================================
  Files          11       11           
  Lines        2951     2952    +1     
  Branches      514      514           
=======================================
+ Hits         2087     2088    +1     
  Misses        754      754           
  Partials      110      110           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

1 participant