Repository navigation
Drop compressed chunks during DROP SCHEMA CASCADE - #10668
Merged
Merged
Conversation
|
@Poroma-Banerjee, @kpan2034: please review this pull request.
|
Codecov Reportβ All modified and coverable lines are covered by tests. π’ Thoughts on this report? Let us know! |
svenklemm
approved these changes
Sep 25, 2026
akuzm
approved these changes
Sep 25, 2026
antekresic
force-pushed
the
antekresic/drop_schema_fix
branch
from
September 26, 2026 16:20
4db0c19 to
c42c7e9
Compare
antekresic
enabled auto-merge (rebase)
September 26, 2026 16:20
Dropping a schema that contains a compressed hypertable misses dropping the compressed chunks because relations cascade on PG side which has no information about the relation between ht chunks and compressed relations. Drop these chunks by mapping the alredy dropped relid using the compression settings.
Merged
surister
pushed a commit
that referenced
this pull request
Sep 29, 2026
## 2.30.2 (2026-09-29) This release contains bug fixes since the 2.30.1 release. We recommend that you upgrade at the next available opportunity. **Bugfixes** * [#10665](#10665) Fix crash when merging chunks with different column layouts * [#10668](#10668) Fix `DROP SCHEMA CASCADE` leaving orphaned compressed chunks * [#10682](#10682) Fix vectorized text comparison ignoring a non-deterministic collation given in the query * [#10609](#10609) Fix race while updating granular refresh setting for hypertable * [#10613](#10613) Rename the granular refresh options to `timescaledb.cagg_granular_refresh_*` * [#10636](#10636) Free the tenant tracker's shared memory when its hypertable is dropped * [#10585](#10585) Potential crash in `CREATE TABLE AS` query selecting from a compressed hypertable
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Dropping a schema that contains a compressed hypertable misses dropping the compressed chunks because relations cascade on PG side which has no information about the relation between ht chunks and compressed relations. Drop these chunks by mapping the alredy dropped relid using the compression settings.