-
Notifications
You must be signed in to change notification settings - Fork 124
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
DuckDB with backup on GCS #6006
Merged
Merged
Changes from 2 commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
41fbea9
initial commit
k-anshul 854a666
use latest replicator version
k-anshul c86ed09
transporter changes
k-anshul c7fd731
fixed transporters
k-anshul c411c9f
set backup directory
k-anshul 9330a7a
test fixes
k-anshul a1d4a10
lint fixes
k-anshul b27121c
postgres tests fix
k-anshul 089d417
self review
k-anshul 1a4c2b2
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul 279d207
Import
begelundmuller 05a0603
Remove go.mod
begelundmuller 13653fd
use single local directory
k-anshul e9a8c6c
use metadata.json for each table
k-anshul 0acae1c
use semaphore instead of mutex for write locks
k-anshul 9a6f9e6
local db monitor
k-anshul eac6d1b
small fixes
k-anshul 6bd2177
Merge branch 'begelundmuller/import-duckdb-replicator' into duckdb_gcs
k-anshul ad95df0
add data bucket
k-anshul 11203b4
fix snowflake
k-anshul 09424ba
non blocking read handle updates
k-anshul 3b0eee7
use tableMeta plus minor fix
k-anshul 50660ce
small cleanups
k-anshul 365f484
use a catalog to manage table lifecyle
k-anshul 2c3b485
use catalog to check if table exists
k-anshul c7ebb0b
Merge remote-tracking branch 'origin/main' into begelundmuller/import…
k-anshul c369e09
add concurrent access unit tests
k-anshul 1f59235
minor tweaks
k-anshul a390746
data bucket for persisting data to gcs
k-anshul 5325252
test fix
k-anshul 953247d
also prefix with driver
k-anshul b10cfab
merge with main
k-anshul 5585e3b
close bucket plus directory prefix
k-anshul d3bfbb6
bucket is closed when prefixed so need to open new data bucket all times
k-anshul 3d5fe90
Merge remote-tracking branch 'origin/main' into begelundmuller/import…
k-anshul e5094c4
Merge branch 'begelundmuller/import-duckdb-replicator' into duckdb_gcs
k-anshul f51a2b1
Update runtime/pkg/rduckdb/db.go
k-anshul 5732e6e
remove ctx cancellation from catalog
k-anshul 154ed02
close fix
k-anshul e3ccead
small renames
k-anshul 86aaf2a
view fix
k-anshul 5fcc934
add a storage client and remove preset data_dir
k-anshul 539b481
lint fixes
k-anshul 3f86e55
small refactor
k-anshul 1907725
Apply suggestions from code review
k-anshul ea8040c
name in connection cache
k-anshul e4b216f
fix build errors
k-anshul 2566537
transporters fixed
k-anshul bbc4625
Merge branch 'data_bucket' into duckdb_gcs
k-anshul 214242a
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul f1caa8f
Merge branch 'begelundmuller/import-duckdb-replicator' into duckdb_gcs
k-anshul 2ec4780
rename fix
k-anshul dabed2c
Merge remote-tracking branch 'origin/main' into begelundmuller/import…
k-anshul ebfd0ba
dsn fix
k-anshul f2631a2
Merge branch 'begelundmuller/import-duckdb-replicator' into duckdb_gcs
k-anshul e6d30cd
write should acquire snapshot
k-anshul e90409c
Merge branch 'begelundmuller/import-duckdb-replicator' into duckdb_gcs
k-anshul b462a96
missing withprefix
k-anshul ccc5729
storage APIs also create directories
k-anshul 84fcf1c
Merge remote-tracking branch 'origin/main' into data_bucket
k-anshul 84b4f59
fix and add unit test
k-anshul 590dee8
pullFromRemote fix and other review comments
k-anshul 385652f
some more tests
k-anshul ed7fd81
remove invalid tables
k-anshul 952651a
use unique directory in temp directory
k-anshul d46a38f
Merge branch 'begelundmuller/import-duckdb-replicator' into duckdb_gcs
k-anshul 754c3ba
Merge branch 'data_bucket' into duckdb_gcs
k-anshul 788a459
interim commit
k-anshul 6befdc8
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul 43e4b4f
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul c601937
remove isview param
k-anshul d863e2c
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul c609613
fix some more tests
k-anshul 5b4148b
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul 770f759
reopen db in a separate goroutine
k-anshul da86f4f
fix more tests
k-anshul 2af27c0
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul 8842b70
more cleanups
k-anshul 5e1b2cb
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul 1f1ddfa
small background task fix
k-anshul 584bfba
add backward compatibility
k-anshul f44cbcd
Merge remote-tracking branch 'origin/main' into duckdb_gcs
k-anshul 058c21a
review comments
k-anshul 56f4e0b
custom temp and secret directory
k-anshul f45c379
remove custom temp directory
k-anshul 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
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.
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.
Will this interfere with external table storage or will it just be ignored?
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.
Good point. These queries are executed for every db file so setting
secret_directory
is what is expected.But there could be issues if all database share same tmp directory. May be for new removing
temp_directory
seems to be a safe option.More important was to set unique
secret_directory
for each instance's database.