-
Notifications
You must be signed in to change notification settings - Fork 919
GODRIVER-3659 Add optin setting to await MinPoolSize population #2258
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: master
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 implements an opt-in setting to await minimum pool size population before running tests in the unified test runner. The change replaces a boolean flag with a configurable timeout duration in milliseconds, allowing tests to wait for connection pools to reach minPoolSize across all servers before proceeding.
Key Changes:
- Replaced
AwaitMinPoolSizeboolean flag withAwaitMinPoolSizeMStimeout configuration - Enhanced connection tracking to monitor ready connections per server address
- Added event history reset capability after pool population is complete
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| internal/integration/unified/entity.go | Updated entity options to use millisecond-based timeout instead of boolean flag; reformatted code structure |
| internal/integration/unified/client_entity.go | Implemented per-server connection tracking, moved and enhanced pool size waiting logic with configurable timeout, added event history reset |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
API Change ReportNo changes found! |
e9a03c9 to
fce4695
Compare
🧪 Performance ResultsCommit SHA: 8a0716cThere were no significant changes to the performance to report for version 69336dd537d7280007e86322. For a comprehensive view of all microbenchmark results for this PR's commit, please check out the Evergreen perf task for this patch. |
9fe075a to
19124b5
Compare
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 2 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 no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5e3207c to
399718c
Compare
399718c to
5e3207c
Compare
5e3207c to
8a0716c
Compare
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.
GODRIVER-3659
Naive implementation of #2235