-
Notifications
You must be signed in to change notification settings - Fork 117
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
connection pooling for duckdb #1405
Merged
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
1ffb6e8
connection pooling for duckdb
pjain1 c12984a
close channel
pjain1 5c9fa5b
set pool size
pjain1 a4158dc
fix test
pjain1 79f465d
fix stopping of pw
pjain1 4571c4c
formatting
pjain1 515f840
start mulitple jobs are getting unpaused
pjain1 a4b8dbf
conn pool dequeue
pjain1 da0d5e7
fix test
pjain1 ef1aa5f
better concurrency test of priority worker
pjain1 b5eccec
comment
pjain1 3be68ad
Merging with context affinity
begelundmuller d25fca0
Pass pool size through DSN
begelundmuller a83af54
Formatting
begelundmuller 3692201
Added a priority semaphore
begelundmuller feceaf1
Update duckdb driver to use priority semaphore
begelundmuller 189184d
Maybe fix failing test case
begelundmuller 7ead16a
Document priorityqueue.Semaphore
begelundmuller c565dca
Bind time series to one connection
begelundmuller dd3b4d2
Use sqlx.Conn + fix hanging errors
begelundmuller f285a1b
Temporarily committing spending benchmark in examples
begelundmuller ecb1a6a
fix failing test
pjain1 b24142b
formatting
pjain1 ca82b58
Commit js benchmark
begelundmuller 597b41f
Removing benchmarks
begelundmuller 2248870
duckdb driver fix, tests with pool size > 1, separate meta connection
pjain1 2592da0
use conn from pool in migrate
pjain1 3f8224e
use single conn in migrate
pjain1 da6960a
use built in connection pool
pjain1 e50f987
fix conn release race condition
pjain1 7fa8f9d
fix linter errors
pjain1 36e207c
fmt
pjain1 e056910
gofmt fix
pjain1 0466f77
gofmt fix
pjain1 f6a49c3
fix tests
pjain1 52a80ee
upgrade duckdb driver
pjain1 7a10d70
Meta and OLAP sems; ensuring safe release
begelundmuller daeed05
Merge branch 'main' into conn_pool
begelundmuller 42f1c5f
Use WithConnection for temporary tables
begelundmuller c3b9e6c
Merge branch 'main' into conn_pool
pjain1 3d544ac
formatting
pjain1 92f3cd0
Merge branch 'main' into conn_pool
begelundmuller ab7265d
Review
begelundmuller 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
fix linter errors
- Loading branch information
commit 7fa8f9d0dbf58611f4ff8f88c7f3dffc354cf30a
There are no files selected for viewing
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
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
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
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.
should we just panic here ?