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

Only enable the failover fix if configured #109

Merged
merged 1 commit into from
May 22, 2023

Conversation

packi
Copy link
Contributor

@packi packi commented May 3, 2023

To be able to roll it out in a more controlled fashion

BF-1847

@packi packi force-pushed the packi-dont-failover-by-default branch 3 times, most recently from 0887c26 to 780f52d Compare May 3, 2023 09:34
@codecov-commenter
Copy link

codecov-commenter commented May 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.25 🎉

Comparison is base (e69fb67) 68.88% compared to head (780f52d) 69.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   68.88%   69.14%   +0.25%     
==========================================
  Files          10       10              
  Lines         990      995       +5     
  Branches      173      174       +1     
==========================================
+ Hits          682      688       +6     
+ Misses        253      252       -1     
  Partials       55       55              
Impacted Files Coverage Δ
pglookout/pglookout.py 70.39% <100.00%> (+0.28%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@packi packi marked this pull request as ready for review May 3, 2023 10:33
@packi packi requested a review from a team as a code owner May 3, 2023 10:33
@packi packi force-pushed the packi-dont-failover-by-default branch from 780f52d to 6c8cc2a Compare May 3, 2023 12:05
Copy link
Contributor

@Mulugruntz Mulugruntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a test to test the new feature flag mechanism, but we don't have a test for the new feature itself? (if master_node)
To make sure that it behaves differently than previous version.

pglookout/pglookout.py Outdated Show resolved Hide resolved
pglookout/pglookout.py Outdated Show resolved Hide resolved
pglookout/pglookout.py Outdated Show resolved Hide resolved
@packi packi force-pushed the packi-dont-failover-by-default branch from 6c8cc2a to 1e6b598 Compare May 22, 2023 09:13
To be able to roll it out in a more controlled fashion
@packi packi force-pushed the packi-dont-failover-by-default branch from 1e6b598 to 0ac108d Compare May 22, 2023 09:15
@packi
Copy link
Contributor Author

packi commented May 22, 2023

The test I've adjusted should cover the feature and the disabling of it.

@packi packi requested review from a team and Mulugruntz May 22, 2023 09:21
@Mulugruntz Mulugruntz merged commit 028ba9e into main May 22, 2023
@Mulugruntz Mulugruntz deleted the packi-dont-failover-by-default branch May 22, 2023 13:06
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.

3 participants