-
Notifications
You must be signed in to change notification settings - Fork 480
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
PS-7887-2: RocksDB encryption #4578
Draft
kamil-holubicki
wants to merge
35
commits into
percona:8.0
Choose a base branch
from
kamil-holubicki:PS-7887-2
base: 8.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2. SST files are immutables 3. MK rotation reworked (now affects only new files)
2. Master key rotation recovery
2. Logging + error handling added to enc_info_plainfile_storage
1. uuid used for MK identification managed by EncryptionUuidProvider. Backup does not archive uuid, so after restoring new uuid will be generated and used 2. MK rotation blocked for the 1st phase of backup when files deletions are disabled. This is to avoid inconsistencies during backup. As the rotation is only generation of new MK in Keyring and storing this info in .encryption_info file it simplifies the whole things. Blocking MK rotation does not block normal MyRocks operations (insert, delete, etc), but simplifies the flow a lot.
kamil-holubicki
force-pushed
the
PS-7887-2
branch
from
March 18, 2022 18:50
441c454
to
b02cc1c
Compare
2. Fixed CRC calculation for .encryption_info file
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This work is based on top of #4462
NOTE: There is 1 change in rocksdb repository: missing override added. It will be added in upstream in the future, or if not, we can put this class wrapper in myrocks namespace.
White: Parts provided by RocksDB, located in rocksdb namespace
Pink: Parts provided by RocksDB, located in rocksdb namespace that we cannot use (do not meet our requirements)
Blue: Parts provided by Percona, located in myrocks namespace.