-
Notifications
You must be signed in to change notification settings - Fork 1
Maintenance script followups: compaction tuning, dedup, orphan recovery, fsck #49
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
24ed5ab
Fix _escape_libpq to use SQL-style '' for embedded quotes
jghoman 64d90d6
Always restore target_file_size to DEFAULT_TARGET_FILE_SIZE
jghoman ea9adbf
Set temp_directory to /tmp/duckdb_spill in maintenance connect()
jghoman 63fc7f5
Disable enable_http_logging and pg_debug_show_queries by default
jghoman dd39339
Centralize DuckLake ATTACH name and metadata schema in constants
jghoman a1c0ca0
Use CREATE SECRET for S3 in justfile shell setup
jghoman 9a9fc2a
Pre-ATTACH upstream Postgres as 'pg' in justfile shell setup
jghoman 5076f09
Add pytz dependency for DuckDB TIMESTAMPTZ conversion
jghoman 8de874b
Document __ducklake_metadata_<attach> schema convention in AGENT.md
jghoman 079cfc2
Bound DuckDB resource use during compact subcommand
jghoman 9765fa2
Log cleanup throughput as a single structured line
jghoman 4352b2c
Add dedup-deletions and SQL macro file for maintenance recipes
jghoman 4bb9818
Add find-orphans subcommand and find_catalog_orphans macro
jghoman 8502f86
Take a Postgres advisory lock around dedup-deletions
jghoman 2d30e76
Add heal-orphans subcommand with B1/B3 safety gates
jghoman 17128e6
Add cleanup-all-safe orchestrator subcommand
jghoman 193c144
Add fsck end-to-end catalog-healthy recipe
jghoman 31a805e
Fix two real-stack bugs in maintenance.py connect+lock paths
jghoman b5bea83
Document catalog-side orphan recovery in README and AGENT.md
jghoman 424ed51
Drop str.format() templating from maintenance.sql
jghoman 144bdc4
Honor DUCKDB_S3_ENDPOINT / URL_STYLE / USE_SSL in justfile shell setup
jghoman 45c4cd2
Take heal-orphans advisory lock before materializing the orphan set
jghoman 247563b
Run heal-orphans gates in fsck dry-run
jghoman 4c3f846
Add unit tests for maintenance.py helpers and orchestrators
jghoman 1dbeab1
Normalize path forms in heal-orphans B1 safety gate
jghoman 2e1acfb
Preserve operator-configured target_file_size across compactions
jghoman cca9744
Restore parity between just shell setup and maintenance.py connect()
jghoman 13d768e
Stop logging false-positive warning when prior target_file_size is th…
jghoman 9b12a79
Revert _escape_libpq to libpq grammar (backslash escapes)
jghoman c91a06f
Default-off debug logging in just shell + add macro coverage
jghoman c5da4da
Filter heal-orphans gates to live rows + lock the schema-name coupling
jghoman e8504ae
Normalize trailing slash in data_path before joining relative keys
jghoman 949fad6
Fix throughput-log race, validate s3_use_ssl, cover s3:// gate paths
jghoman fbab440
Sync README + AGENT.md cleanup-throughput-line description with code
jghoman 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ dist/ | |
| .claude/settings.local.json | ||
| session-*.md | ||
| test/ssl/ | ||
| FOLLOWUPS.md | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.