-
Notifications
You must be signed in to change notification settings - Fork 40
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
Qorb integration as connection pool for database #5876
Merged
Merged
Changes from 16 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a18e659
Qorb integration as connection pool for database
smklein 4695244
Getting there with tests
smklein 0b1e300
use a ton of spares
smklein 91375c4
Continue patching tests
smklein 7d06d29
Integrate failfast, make constructor not async
smklein 2c44ecf
Workspace hack
smklein aa544fc
look ma no bb8
smklein d7fd531
Hardcode to ignore DNS TTLs because they're currently all zero
smklein 6e1dfd9
Our own custom PgConnector
smklein e008c8c
Don't expire ttl
smklein 47b0932
Merge branch 'main' into integrate-qorb
smklein 5244907
Merge branch 'main' into integrate-qorb
smklein 88f67aa
Update qorb dep, more logs
smklein 72369bb
Plumb log
smklein ec1f78b
Review feedback
smklein dce0276
More lenient query interval, update qorb again to respect timeout ins…
smklein e4d6c78
Use URL crate, add comments
smklein b5026cb
Merge branch 'main' into integrate-qorb
smklein a362e5d
Merge branch 'main' into integrate-qorb
smklein fbe4126
Merge branch 'main' into integrate-qorb
smklein 8293be5
more merging
smklein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I don't love that this method makes this assumption, though this appears to be embedded mostly within tests.
It's necessary within
nexus/db-queries/src/db/pool.rs
to implementSingleHostResolver
, which is our way of identifying backends asSocketAddr
types.I can try to make the "address" of the backend generic through qorb, so we could leave it as a URL?