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

Refactor internal/principal key LWLocks #294

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

dAdAbird
Copy link
Member

Before this commit, several flaws existed in the lock protection of the Internal and Principal keys. Such as double locking, insufficient locking while rotating the principal key and internal key retrieval from the disk. We also had two locks guarding the same actions, which in 90% of cases were locked and unlocked together. This commit tries to address all these issues.

For: https://perconadev.atlassian.net/browse/PG-858

Before this commit, several flaws existed in the lock protection of the
Internal and Principal keys. Such as double locking, insufficient
locking while rotating the principal key and internal key retrieval
from the disk. We also had two locks guarding the same actions, which
in 90% of cases were locked and unlocked together. This commit tries to
address all these issues.

For: https://perconadev.atlassian.net/browse/PG-858
@dAdAbird dAdAbird merged commit 1562bac into percona:main Sep 27, 2024
13 checks passed
@dAdAbird dAdAbird deleted the principal_key_locking branch September 27, 2024 11:27
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