Mike Percy has uploaded a new patch set (#4).

Change subject: Remove the LocalConsensus implementation
......................................................................

Remove the LocalConsensus implementation

This implementation was intended as scaffolding while we built a true
consensus implementation. Now that we have a full implementation of Raft
consensus, it is no longer needed.

Also update ConsensusMetadata validation and remove the use of the
RaftConfigPB.local field (marked as obsolete).

Additionally, convert alter_table-test to use RaftConsensus:

1. Wait for tablet to be elected leader before proceeding.
2. All of the timestamps must be incremented due to the initial no-op
   written to the WAL by the Raft leader.

Finally, update the following tests to specify themselves as voters when
creating a single-node config:

* consensus_meta-test
* raft_consensus_state-test
* tablet_bootstrap-test

Change-Id: I24e671dc732a1cdf4c453dfec61cefa0c573252c
---
M docs/design-docs/consensus.md
M src/kudu/consensus/CMakeLists.txt
M src/kudu/consensus/consensus-test-util.h
M src/kudu/consensus/consensus_meta-test.cc
D src/kudu/consensus/local_consensus.cc
D src/kudu/consensus/local_consensus.h
M src/kudu/consensus/log.h
M src/kudu/consensus/metadata.proto
M src/kudu/consensus/quorum_util.cc
M src/kudu/consensus/raft_consensus_state-test.cc
M src/kudu/integration-tests/alter_table-test.cc
M src/kudu/integration-tests/raft_consensus-itest.cc
M src/kudu/master/catalog_manager.cc
M src/kudu/master/sys_catalog.cc
M src/kudu/tablet/tablet_bootstrap-test.cc
M src/kudu/tablet/tablet_peer-test.cc
M src/kudu/tablet/tablet_peer.cc
M src/kudu/tserver/mini_tablet_server.cc
M src/kudu/tserver/remote_bootstrap_session-test.cc
M src/kudu/tserver/ts_tablet_manager.cc
20 files changed, 31 insertions(+), 403 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/50/3350/4
-- 
To view, visit http://gerrit.cloudera.org:8080/3350
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I24e671dc732a1cdf4c453dfec61cefa0c573252c
Gerrit-PatchSet: 4
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: David Ribeiro Alves <dral...@apache.org>
Gerrit-Reviewer: Mike Percy <mpe...@apache.org>

Reply via email to