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

WIP: prevent location-only pod updates #5

Closed
wants to merge 2 commits into from

Conversation

alexeyklyukin
Copy link
Member

Prevent annotation updates when the only update is the pod xlog location.

This reduces the load on the K8s API for the replicas, as we don't have to update the pod every loop_wait interval.

Prevent annotation updates when the only update
is the pod xlog location.

This reduces the load on the K8s API for the replicas,
as we don't have to update the pod every loop_wait interval.
@coveralls
Copy link

coveralls commented May 22, 2024

Pull Request Test Coverage Report for Build 9209282666

Details

  • 4 of 6 (66.67%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 99.848%

Changes Missing Coverage Covered Lines Changed/Added Lines %
patroni/dcs/kubernetes.py 4 6 66.67%
Totals Coverage Status
Change from base Build 9188970374: -0.01%
Covered Lines: 13764
Relevant Lines: 13785

💛 - Coveralls

@alexeyklyukin alexeyklyukin force-pushed the oleksii/remove_xlog_position_update branch from ceea18b to d2d53c0 Compare May 23, 2024 13:53
Add prevent_xlog_position_only_pod_updates K8s parameter.
@alexeyklyukin alexeyklyukin force-pushed the oleksii/remove_xlog_position_update branch from d2d53c0 to acfc649 Compare May 24, 2024 06:30
@alexeyklyukin
Copy link
Member Author

Closing in favor of #6

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.

2 participants