Mike Percy has submitted this change and it was merged. Change subject: consensus: Get rid of ReplicaState class ......................................................................
consensus: Get rid of ReplicaState class Merges the logic in ReplicaState into the RaftConsensus class. ReplicaState adds complexity but doesn't really serve a purpose anymore. There are no functional changes in this patch. Change-Id: Ie1e62eff37d3f8655100b364939375608063aa80 Reviewed-on: http://gerrit.cloudera.org:8080/7007 Reviewed-by: Todd Lipcon <t...@apache.org> Tested-by: Mike Percy <mpe...@apache.org> --- M src/kudu/consensus/CMakeLists.txt M src/kudu/consensus/consensus.h M src/kudu/consensus/raft_consensus.cc M src/kudu/consensus/raft_consensus.h M src/kudu/consensus/raft_consensus_quorum-test.cc D src/kudu/consensus/raft_consensus_state.cc D src/kudu/consensus/raft_consensus_state.h 7 files changed, 700 insertions(+), 876 deletions(-) Approvals: Mike Percy: Verified Todd Lipcon: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/7007 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie1e62eff37d3f8655100b364939375608063aa80 Gerrit-PatchSet: 7 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> Gerrit-Reviewer: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org>