8000 [PG-1531] Verify that key provider can provide any in-use keys before it's updated by AndersAstrand · Pull Request #347 · percona/postgres · GitHub
[go: up one dir, main page]

Skip to content

[PG-1531] Verify that key provider can provide any in-use keys before it's updated #347

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

Open
wants to merge 2 commits into
base: TDE_REL_17_STABLE
Choose a base branch
from

Conversation

AndersAstrand
Copy link
Collaborator

Previously you could just change your key provider settings to something that couldn't retrieve your keys that were already in-use. Now we verify that the new settings would provide the same keys as the old ones.

Remove some pointless variable usage, move variable to smaller scope and
clean up some newlines.
Prevent the change if they do not. In the future we might want to add a
"force" parameter, but for now the command line utility can be used
while the cluster is offline if that is necessary.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 86.48649% with 5 lines in your changes missing coverage. Please review.

Project coverage is 80.36%. Comparing base (4affafc) to head (5a5cbd8).
Report is 5 commits behind head on TDE_REL_17_STABLE.

❌ Your project status has failed because the head coverage (80.36%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           TDE_REL_17_STABLE     #347      +/-   ##
=====================================================
- Coverage              80.49%   80.36%   -0.14%     
=====================================================
  Files                     22       22              
  Lines                   2605     2633      +28     
  Branches                 398      407       +9     
=====================================================
+ Hits                    2097     2116      +19     
- Misses                   430      438       +8     
- Partials                  78       79       +1     
Components Coverage Δ
access 82.95% <ø> (ø)
catalog 87.28% <86.48%> (-0.28%) ⬇️
common 91.80% <ø> (ø)
encryption 72.89% <ø> (-2.81%) ⬇️
keyring 72.00% <ø> (ø)
src 66.74% <ø> (ø)
smgr 97.27% <ø> (ø)
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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
0