Todd Lipcon has submitted this change and it was merged. Change subject: consensus: move ReplicaTransactionFactory into RaftConsensus ......................................................................
consensus: move ReplicaTransactionFactory into RaftConsensus The ReplicaState::txn_factory_ member was only used by a getter and handed back to RaftConsensus, so this just moves the instance into RaftConsensus itself. This also enabled removal of some test cruft. Change-Id: I45906913aed375f860276455223e43f0115a5c0a Reviewed-on: http://gerrit.cloudera.org:8080/4711 Tested-by: Kudu Jenkins Reviewed-by: David Ribeiro Alves <[email protected]> Reviewed-by: Mike Percy <[email protected]> --- M src/kudu/consensus/consensus-test-util.h M src/kudu/consensus/raft_consensus.cc M src/kudu/consensus/raft_consensus.h M src/kudu/consensus/raft_consensus_state-test.cc M src/kudu/consensus/raft_consensus_state.cc M src/kudu/consensus/raft_consensus_state.h 6 files changed, 11 insertions(+), 34 deletions(-) Approvals: David Ribeiro Alves: Looks good to me, approved Mike Percy: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/4711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I45906913aed375f860276455223e43f0115a5c0a Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]>
