-
Notifications
You must be signed in to change notification settings - Fork 27
[DPE-8439] Remove reinitialisation and hash config #1101
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1101 +/- ##
==========================================
+ Coverage 73.22% 73.28% +0.05%
==========================================
Files 15 15
Lines 3929 3904 -25
Branches 577 573 -4
==========================================
- Hits 2877 2861 -16
+ Misses 836 829 -7
+ Partials 216 214 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| if not self._patroni.member_started and self._patroni.is_database_running: | ||
| try: | ||
| container.restart(self.postgresql_service) | ||
| logger.info("restarted Patroni because it was not running") | ||
| except ChangeError: | ||
| logger.error("failed to restart Patroni after checking that it was not running") | ||
| return False | ||
| return True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
marceloneppel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Port of canonical/postgresql-operator#1166 and canonical/postgresql-operator#1168
Checklist