-
Notifications
You must be signed in to change notification settings - Fork 164
K8SPSMDB-1296: use direct conn for mongodb-healthcheck
#2205
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
base: main
Are you sure you want to change the base?
Conversation
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.
Pull request overview
This PR optimizes the MongoDB healthcheck tool to use direct connections by default, avoiding unnecessary connection failures and retries when the healthcheck tool connects to the local MongoDB instance.
Changes:
- Set
Direct = truein the mongodb-healthcheck configuration to enable direct connections by default
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
commit: 44b3f99 |
https://perconadev.atlassian.net/browse/K8SPSMDB-1296
DESCRIPTION
Problem:
mongodb-healthcheckrecievesrs.status()output from another pods.Solution:
Enable
directConnectionfor the mongod client.CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability