Hello Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/20103

to look at the new patch set (#2).

Change subject: [multi-tenancy] add a server key upgrade tool
......................................................................

[multi-tenancy] add a server key upgrade tool

For the purpose of easily upgrading the server key to the
tenant key, I have implemented the corresponding function
in this patch.

With the help of a command-line tool, such as
`kudu fs upgrade_encryption_key --fs_data_dirs=xx --fs_wal_dir=xx 
--fs_metadata_dir=xx`,
we can easily complete the metadata upgrade for a single
tserver. After all tservers have been upgraded, the previous
server key info will be converted into the encrypted information
of the default tenant, and the metadata will no longer retain
the previous server key info.

In addition, after the upgrade is completed, the multi-tenant
enable flag '--enable_multi_tenancy' needs to be set to true to
complete the entire upgrade process.

I have also added unit tests for this process to ensure that
this logic can be executed correctly.

Change-Id: I2fe50fdcdf294b5955756dfcb92d3b627534bcc7
---
M src/kudu/fs/fs_manager.cc
M src/kudu/fs/fs_manager.h
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_fs.cc
4 files changed, 141 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/03/20103/2
--
To view, visit http://gerrit.cloudera.org:8080/20103
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2fe50fdcdf294b5955756dfcb92d3b627534bcc7
Gerrit-Change-Number: 20103
Gerrit-PatchSet: 2
Gerrit-Owner: KeDeng <kdeng...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to