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

Make the core pod checksum the satellite pods, like it does with core already. #25

Closed
kuzmik opened this issue Dec 18, 2023 · 1 comment · Fixed by #26
Closed

Make the core pod checksum the satellite pods, like it does with core already. #25

kuzmik opened this issue Dec 18, 2023 · 1 comment · Fixed by #26
Assignees

Comments

@kuzmik
Copy link
Collaborator

kuzmik commented Dec 18, 2023

Rather than running LOAD PROXYSQL SERVERS TO RUNTIME every Xs, regardless of whether changes occurred to cluster state, it'd make more sense to replicate what we're doing with core pods.

ie: checksum the current cluster state, and every 10s if that checksum changes, run the LOAD command. That will cut down on logs in datadog, at the very least.

@kuzmik kuzmik self-assigned this Dec 19, 2023
@kuzmik
Copy link
Collaborator Author

kuzmik commented Dec 20, 2023

I actually had the idea to use Informer() to watch cluster state, rather than a manual loop that runs every X seconds. PR is opened and linked to this issue.

@kuzmik kuzmik closed this as completed in #26 Feb 8, 2024
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 a pull request may close this issue.

1 participant