Hello David Ribeiro Alves, Alexey Serbin, I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/7191 to review the following change. Change subject: Create ConsensusMetadataService ...................................................................... Create ConsensusMetadataService This patch creates an API for a "service" that manages consensus metadata. This abstracts out the management of ConsensusMetadata files, providing the following benefits: 1) This service can be plumbed throughout the various classes that deal with reading, creating, and modifying consensus metadata so that we don't have to pass the individual instances around. 2) It provides additional abstraction and flexibility that will make it easier to change the underlying implementation of ConsensusMetadata in the future as needed. Change-Id: Ia30c05dd0feec2b7530205f4d17dfc079a1c3451 --- M src/kudu/consensus/CMakeLists.txt M src/kudu/consensus/consensus_meta.cc M src/kudu/consensus/consensus_meta.h A src/kudu/consensus/consensus_meta_service-test.cc A src/kudu/consensus/consensus_meta_service.cc A src/kudu/consensus/consensus_meta_service.h M src/kudu/consensus/raft_consensus_quorum-test.cc M src/kudu/integration-tests/tablet_copy-itest.cc M src/kudu/integration-tests/ts_recovery-itest.cc M src/kudu/master/sys_catalog.cc M src/kudu/master/sys_catalog.h M src/kudu/tablet/tablet_bootstrap-test.cc M src/kudu/tablet/tablet_bootstrap.cc M src/kudu/tablet/tablet_bootstrap.h M src/kudu/tablet/tablet_replica-test.cc M src/kudu/tablet/tablet_replica.cc M src/kudu/tablet/tablet_replica.h M src/kudu/tools/tool_action_local_replica.cc M src/kudu/tserver/tablet_copy_client-test.cc M src/kudu/tserver/tablet_copy_client.cc M src/kudu/tserver/tablet_copy_client.h M src/kudu/tserver/tablet_copy_source_session-test.cc M src/kudu/tserver/ts_tablet_manager.cc M src/kudu/tserver/ts_tablet_manager.h 24 files changed, 447 insertions(+), 109 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/91/7191/1 -- To view, visit http://gerrit.cloudera.org:8080/7191 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia30c05dd0feec2b7530205f4d17dfc079a1c3451 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: David Ribeiro Alves <davidral...@gmail.com>