Skip to content

Backport to 2.29.x: #10349: Fix flaky cagg_hierarchical_concurrent_refresh - #10375

Merged
timescale-automation merged 2 commits into
2.29.xfrom
backport/2.29.x/10349
Jul 31, 2026
Merged

Backport to 2.29.x: #10349: Fix flaky cagg_hierarchical_concurrent_refresh#10375
timescale-automation merged 2 commits into
2.29.xfrom
backport/2.29.x/10349

Conversation

@timescale-automation

Copy link
Copy Markdown
Member

This is an automated backport of #10349: Fix flaky cagg_hierarchical_concurrent_refresh.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Fix flaky cagg_hierarchical_concurrent_refresh

Synchronize with a lock on cagg_6h's materialization hypertable instead. L1 cagg refresh is blocked on the lock mid-txn 3 after deleting its processed log entries but before the commit. While L2 moves and process its log entries concurrently, blocking only when it starts materializing from cagg_6h.

Synchronize with a lock on cagg_6h's materialization hypertable instead.
L1 cagg refresh is blocked on the lock mid-txn 3 after deleting its
processed log entries but before the commit. While L2 moves and process
its log entries concurrently, blocking only when it starts materializing
from cagg_6h.

(cherry picked from commit 62575c3)
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@timescale-automation
timescale-automation merged commit a64e125 into 2.29.x Jul 31, 2026
67 of 69 checks passed
@timescale-automation
timescale-automation deleted the backport/2.29.x/10349 branch July 31, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

is-auto-backport PR created by backport automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants