KeDeng has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19622
Change subject: KUDU-3413 server key update to tenant key ...................................................................... KUDU-3413 server key update to tenant key If we want to introduce the multi-tenant feature on the basis of data at rest encryption, we have to solve the issue of version upgrade between the two features. In this submission, I replaced the server key with the tenant key, which belongs to the default tenant. I want to use this patch as the beginning of the multi-tenant feature development. However, the operation of custom tenant is not supported at present. At the same time, I mainly solved the upgrade problem by assigning the existing server key to the default tenant and clearing the existed server key. And I also added a unit test for this upgrade process to ensure the upgrade logic is effective. Change-Id: I9e450d73940eb1dbaac6f905a46d6ccd084f15cf --- M src/kudu/consensus/raft_consensus_quorum-test.cc M src/kudu/fs/default_key_provider-test.cc M src/kudu/fs/default_key_provider.h M src/kudu/fs/dir_manager.h M src/kudu/fs/fs.proto M src/kudu/fs/fs_manager-test.cc M src/kudu/fs/fs_manager.cc M src/kudu/fs/fs_manager.h M src/kudu/fs/key_provider.h M src/kudu/fs/ranger_kms_key_provider.cc M src/kudu/fs/ranger_kms_key_provider.h M src/kudu/integration-tests/raft_consensus-itest.cc M src/kudu/mini-cluster/external_mini_cluster.cc M src/kudu/mini-cluster/external_mini_cluster.h M src/kudu/mini-cluster/internal_mini_cluster.cc M src/kudu/mini-cluster/internal_mini_cluster.h M src/kudu/ranger-kms/ranger_kms_client.cc M src/kudu/ranger-kms/ranger_kms_client.h M src/kudu/server/server_base.cc M src/kudu/server/server_base_options.cc M src/kudu/server/server_base_options.h M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_common.cc M src/kudu/tools/tool_action_common.h M src/kudu/tools/tool_action_fs.cc M src/kudu/tools/tool_action_pbc.cc M src/kudu/tools/tool_action_wal.cc M src/kudu/tserver/tablet_copy_client-test.cc M src/kudu/tserver/tablet_server-test-base.cc M src/kudu/util/env-test.cc M src/kudu/util/env.h M src/kudu/util/env_posix.cc M src/kudu/util/test_util.cc M src/kudu/util/test_util.h 34 files changed, 698 insertions(+), 232 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/22/19622/1 -- To view, visit http://gerrit.cloudera.org:8080/19622 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I9e450d73940eb1dbaac6f905a46d6ccd084f15cf Gerrit-Change-Number: 19622 Gerrit-PatchSet: 1 Gerrit-Owner: KeDeng <[email protected]>
