Skip to content
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

Backport to 2.13.x: #6529: Remove reindex_relation from recompression #6530

Closed
wants to merge 1 commit into from

Conversation

timescale-automation
Copy link

This is an automated backport of #6529: Remove reindex_relation from recompression.
The original issue is #6524.
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

Remove reindex_relation from recompression

We used to reindex relation when compressing chunks. Recently we moved to inserting into indexes on compressed chunks in order to reduce locks necessary for the operation. Since recompression uses RowCompressor, it also started inserting tuples into indexes but we never removed the relation reindexing. This change removes the unnecessary reindex call.

Fixes #6524

We used to reindex relation when compressing chunks. Recently
we moved to inserting into indexes on compressed chunks in
order to reduce locks necessary for the operation. Since
recompression uses RowCompressor, it also started inserting
tuples into indexes but we never removed the relation reindexing.
This change removes the unnecessary reindex call.

(cherry picked from commit 45bc8a0)
@antekresic
Copy link
Contributor

This is going into 2.14 release

@antekresic antekresic closed this Feb 1, 2024
auto-merge was automatically disabled February 1, 2024 08:15

Pull request was closed

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