Skip to content

Conversation

timescale-automation
Copy link
Member

@timescale-automation timescale-automation commented Sep 30, 2025

2.22.1 (2025-09-30)

This release contains performance improvements and bug fixes since the 2.22.0 release. We recommend that you upgrade at the next available opportunity.

This release blocks the ability to leverage concurrent refresh policies in hierarchical continous aggregates, as potential deadlocks can occur. If you have concurrent refresh policies in hierarchical continous aggregates, please disable the jobs, as following:

SELECT alter_job("<job_id_of_concurrent_policy>", scheduled => false);

Bugfixes

  • #7766 Load OSM extension in retention background worker to drop tiered chunks
  • #8550 Error in gapfill with expressions over aggregates and groupby columns and out-of-order columns
  • #8593 Error on change of invalidation method for continuous aggregate
  • #8599 Fix attnum mismatch bug in chunk constraint checks
  • #8607 Fix interrupted continous aggregate refresh materialization phase leaving behind pending materialization ranges
  • #8638 ALTER TABLE RESET for orderby settings
  • #8644 Fix migration script for sparse index configuration
  • #8657 Fix CREATE TABLE WITH when using UUIDv7 partitioning
  • #8659 Don't propagate ALTER TABLE commands to foreign data wrapper chunks
  • #8693 Compressed index not chosen for varchar typed segmentby columns
  • #8707 Block concurrent refresh policies for hierarchical continous aggregate due to potential deadlocks

Thanks

  • @MKrkkl for reporting a bug in Gapfill queries with expressions over aggregates and groupby columns
  • @brandonpurcell-dev for creating a test case that showed a bug in CREATE TABLE WITH when using UUIDv7 partitioning
  • @snyrkill for reporting a bug when interrupting a continous aggregate refresh

Copy link

codecov bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.47%. Comparing base (bff8a38) to head (f55feca).
⚠️ Report is 2 commits behind head on 2.22.x.

Additional details and impacted files
@@            Coverage Diff             @@
##           2.22.x    #8717      +/-   ##
==========================================
+ Coverage   82.36%   82.47%   +0.10%     
==========================================
  Files         248      248              
  Lines       47682    47654      -28     
  Branches    12128    12124       -4     
==========================================
+ Hits        39275    39301      +26     
- Misses       3509     3514       +5     
+ Partials     4898     4839      -59     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@billy-the-fish billy-the-fish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few nits

Co-authored-by: Iain Cox <[email protected]>
Signed-off-by: Philip Krauss <[email protected]>
Copy link
Member

@svenklemm svenklemm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we wanna add a message about concurrent refreshes

@philkra philkra requested a review from svenklemm September 30, 2025 07:46
@philkra philkra merged commit 687331d into 2.22.x Sep 30, 2025
55 of 58 checks passed
@philkra philkra deleted the release/2.22.1-changelog branch September 30, 2025 10:14
@timescale-automation timescale-automation added the released-2.22.1 Released in 2.22.1 label Sep 30, 2025
philkra added a commit that referenced this pull request Oct 1, 2025
## 2.22.1 (2025-09-30)

This release contains performance improvements and bug fixes since the
[2.22.0](https://github.com/timescale/timescaledb/releases/tag/2.20.0)
release. We recommend that you upgrade at the next available
opportunity.

This release blocks the ability to leverage **concurrent refresh
policies** in **hierarchical continous aggregates**, as potential
deadlocks can occur. If you have [concurrent refresh
policies](https://docs.tigerdata.com/use-timescale/latest/continuous-aggregates/refresh-policies/#add-concurrent-refresh-policies)
in **hierarchical** continous aggregates, [please disable the
jobs](https://docs.tigerdata.com/api/latest/jobs-automation/alter_job/#samples),
as following:

```
SELECT alter_job("<job_id_of_concurrent_policy>", scheduled => false);
```

**Bugfixes**
* [#7766](#7766) Load OSM
extension in retention background worker to drop tiered chunks
* [#8550](#8550) Error in
gapfill with expressions over aggregates and groupby columns and
out-of-order columns
* [#8593](#8593) Error on
change of invalidation method for continuous aggregate
* [#8599](#8599) Fix attnum
mismatch bug in chunk constraint checks
* [#8607](#8607) Fix
interrupted continous aggregate refresh materialization phase leaving
behind pending materialization ranges
* [#8638](#8638) `ALTER
TABLE RESET` for `orderby` settings
* [#8644](#8644) Fix
migration script for sparse index configuration
* [#8657](#8657) Fix
`CREATE TABLE WITH` when using UUIDv7 partitioning
* [#8659](#8659) Don't
propagate `ALTER TABLE` commands to foreign data wrapper chunks
* [#8693](#8693) Compressed
index not chosen for `varchar` typed `segmentby` columns
* [#8707](#8707) Block
concurrent refresh policies for hierarchical continous aggregate due to
potential deadlocks

**Thanks**
* @MKrkkl for reporting a bug in Gapfill queries with expressions over
aggregates and groupby columns
* @brandonpurcell-dev for creating a test case that showed a bug in
`CREATE TABLE WITH` when using UUIDv7 partitioning
* @snyrkill for reporting a bug when interrupting a continous aggregate
refresh

---------

Signed-off-by: Philip Krauss <[email protected]>
Co-authored-by: timescale-automation <123763385+github-actions[bot]@users.noreply.github.com>
Co-authored-by: philkra <[email protected]>
Co-authored-by: Philip Krauss <[email protected]>
Co-authored-by: Iain Cox <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants