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.15.x: #7035: Fix ERROR when acquiring a tuple lock on OSM chunks on replica #7082

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

timescale-automation
Copy link

This is an automated backport of #7035: Fix ERROR when acquiring a tuple lock on OSM chunks on replica.
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 ERROR when acquiring a tuple lock on OSM chunks on replica

Planner attempts acquiring a LockTupleKeyShare tuple lock on an OSM chunk's dimension slice which results in an error on
replica. This patch fixes the issue by avoiding tuple locking when in recovery mode.

Fix for timescale/Support-Dev-Collab#1847

Disable-check: force-changelog-file

Planner attempts acquiring a `LockTupleKeyShare` tuple lock on an OSM
chunk's dimension slice which results in an error on replica. This
patch removes tuple lock when in recovery mode.

(cherry picked from commit f68006b)
@timescale-automation timescale-automation added the is-auto-backport PR created by backport automation label Jul 1, 2024
@timescale-automation timescale-automation enabled auto-merge (rebase) July 1, 2024 08:08
@timescale-automation timescale-automation merged commit 27368f5 into 2.15.x Jul 1, 2024
34 of 35 checks passed
@timescale-automation timescale-automation deleted the backport/2.15.x/7035 branch July 1, 2024 08:54
@svenklemm svenklemm mentioned this pull request Jul 2, 2024
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