Todd Lipcon has submitted this change and it was merged. Change subject: [security] load/store public TSK in the system table ......................................................................
[security] load/store public TSK in the system table Non-expired, already existing TSK records are read from the system catalog table upon the 'elected-as-leader' callback and fed into the TokenSigner. New token signing keys are generated and written into the system catalog table by a periodic task. The expired entries are removed from the system table upon the 'elected-as-leader' callback. Added integration tests for cluster start/restart and switching master leadership role into token_signer-itest.cc. Change-Id: Ie91d4129bda0ca49e81988c28385895a2abcd201 Reviewed-on: http://gerrit.cloudera.org:8080/5935 Reviewed-by: Adar Dembo <[email protected]> Reviewed-by: Todd Lipcon <[email protected]> Tested-by: Todd Lipcon <[email protected]> --- M src/kudu/client/client-test.cc M src/kudu/integration-tests/CMakeLists.txt M src/kudu/integration-tests/registration-test.cc A src/kudu/integration-tests/token_signer-itest.cc M src/kudu/integration-tests/ts_itest-base.h M src/kudu/master/catalog_manager.cc M src/kudu/master/catalog_manager.h M src/kudu/master/master.cc M src/kudu/master/master.proto M src/kudu/master/sys_catalog.cc M src/kudu/master/sys_catalog.h 11 files changed, 587 insertions(+), 42 deletions(-) Approvals: Adar Dembo: Looks good to me, but someone else must approve Todd Lipcon: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/5935 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie91d4129bda0ca49e81988c28385895a2abcd201 Gerrit-PatchSet: 25 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]>
