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

Atomize Rename operation when encryption is enabled #8

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

acelyc111
Copy link
Member

@acelyc111 acelyc111 commented Jul 21, 2023

apache/incubator-pegasus#1575

Cherry-pick from tikv@bbd27cf

used LinkFile instead of RenameFile api of key manager. But LinkFile needs check the dst file information, in RenameFile logic, we don't care about that. So just skip encryption for current file.

Signed-off-by: Xintao [email protected]

@acelyc111 acelyc111 changed the base branch from v8.3.2-pegasus to v8.3.2-pegasus-encrypt August 8, 2023 04:04
@acelyc111 acelyc111 merged commit e84b0b2 into pegasus-kv:v8.3.2-pegasus-encrypt Aug 8, 2023
35 checks passed
acelyc111 added a commit that referenced this pull request Aug 16, 2023
apache/incubator-pegasus#1575

Cherry-pick from
tikv@bbd27cf

used LinkFile instead of RenameFile api of key manager. But LinkFile
needs check the dst file information, in RenameFile logic, we don't care
about that. So just skip encryption for current file.

Signed-off-by: Xintao [[email protected]](mailto:[email protected])
acelyc111 added a commit that referenced this pull request Sep 15, 2023
apache/incubator-pegasus#1575

Cherry-pick from
tikv@bbd27cf

used LinkFile instead of RenameFile api of key manager. But LinkFile
needs check the dst file information, in RenameFile logic, we don't care
about that. So just skip encryption for current file.

Signed-off-by: Xintao [[email protected]](mailto:[email protected])
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.

3 participants