Skip to content

Backport to 2.28.x: #10257: Reuse existing dimension_slice ids when possible - #10264

Merged
timescale-automation merged 1 commit into
2.28.xfrom
backport/2.28.x/10257
Jul 15, 2026
Merged

Backport to 2.28.x: #10257: Reuse existing dimension_slice ids when possible#10264
timescale-automation merged 1 commit into
2.28.xfrom
backport/2.28.x/10257

Conversation

@timescale-automation

Copy link
Copy Markdown
Member

This is an automated backport of #10257: Reuse existing dimension_slice ids when possible.
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

Reuse existing dimension_slice ids when possible

When upgrading to 2.28.x we would rebuild all dimension_slices as
slices can no longer be shared. We can completely reuse existing
ids for hypertables with only single dimensions and reduce the
amount of renumbering for hypertables with multiple dimensions.
This reduces the amount of locks takes during extension upgrades.

When upgrading to 2.28.x we would rebuild all dimension_slices as
slices can no longer be shared. We can completely reuse existing
ids for hypertables with only single dimensions and reduce the
amount of renumbering for hypertables with multiple dimensions.
This reduces the amount of locks takes during extension upgrades.

(cherry picked from commit 2a99f01)
@codecov

codecov Bot commented Jul 15, 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 216780e into 2.28.x Jul 15, 2026
65 checks passed
@timescale-automation
timescale-automation deleted the backport/2.28.x/10257 branch July 15, 2026 14:44
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