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

Regenerate recovery information on config reload [BF-1812] #107

Merged

Conversation

packi
Copy link
Contributor

@packi packi commented Mar 30, 2023

This should be a no-op in most cases but in certain edge-cases (e.g. when changing a password) it can leave the standby without a possibility to connect to the primary and thus fall behind in replication.

@packi packi force-pushed the packi-regenerate-recover-conf-on-conninfo-change branch from 00b1567 to 87c42d6 Compare March 30, 2023 13:20
@packi packi marked this pull request as ready for review March 31, 2023 11:27
@packi packi requested a review from a team as a code owner March 31, 2023 11:27
@packi packi changed the title Regenerate recovery information on config reload Regenerate recovery information on config reload [BF-1812] Apr 4, 2023
pglookout/pglookout.py Outdated Show resolved Hide resolved
@packi packi force-pushed the packi-regenerate-recover-conf-on-conninfo-change branch 3 times, most recently from 71a5b41 to e933ecb Compare April 5, 2023 10:38
@codecov-commenter
Copy link

codecov-commenter commented Apr 5, 2023

Codecov Report

Patch coverage: 53.33% and project coverage change: +0.68 🎉

Comparison is base (94891fa) 68.20% compared to head (e933ecb) 68.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
+ Coverage   68.20%   68.88%   +0.68%     
==========================================
  Files          10       10              
  Lines         975      990      +15     
  Branches      171      173       +2     
==========================================
+ Hits          665      682      +17     
  Misses        253      253              
+ Partials       57       55       -2     
Impacted Files Coverage Δ
pglookout/pglookout.py 70.11% <53.33%> (+1.27%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@packi packi requested review from a team and alexole April 6, 2023 07:05
pglookout/pglookout.py Outdated Show resolved Hide resolved
pglookout/pglookout.py Outdated Show resolved Hide resolved
This should be a no-op in most cases but in certain edge-cases (e.g.
when changing a password) it can leave the standby without a possibility
to connect to the primary and thus fall behind in replication.
@packi packi force-pushed the packi-regenerate-recover-conf-on-conninfo-change branch from e933ecb to 60e6dc6 Compare April 20, 2023 16:39
@packi packi dismissed kmichel-aiven’s stale review April 21, 2023 08:13

Comments addressed

@packi packi requested review from a team and kmichel-aiven April 21, 2023 08:13
@kmichel-aiven kmichel-aiven merged commit e69fb67 into main Apr 21, 2023
@kmichel-aiven kmichel-aiven deleted the packi-regenerate-recover-conf-on-conninfo-change branch April 21, 2023 10:11
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.

None yet

4 participants