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

PG-1040 Fix lwlocks usage #290

Merged
merged 2 commits into from
Oct 1, 2024
Merged

PG-1040 Fix lwlocks usage #290

merged 2 commits into from
Oct 1, 2024

Conversation

artemgavrilov
Copy link
Collaborator

@artemgavrilov artemgavrilov commented Sep 20, 2024

https://perconadev.atlassian.net/browse/PG-1040

GetNamedLWLockTranche returns pointer to LWLockPadded which contains ONE LWLock. So if we requested several locks (three in our case) we should iterate over LWLockPadded, not over LWLockPadded->LWLock.

Copy link

github-actions bot commented Sep 20, 2024

Performance test results:
Normal queries: 9340
TDE queries: 8684
Percentage: 92%

@artemgavrilov artemgavrilov marked this pull request as ready for review September 20, 2024 20:27
@dAdAbird dAdAbird merged commit 99ff05f into main Oct 1, 2024
11 of 13 checks passed
@dAdAbird dAdAbird deleted the PG-1040-lwlocks-fix branch October 1, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants