Hello David Ribeiro Alves, Mike Percy,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/4711
to review the following change.
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
---
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(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/11/4711/1
--
To view, visit http://gerrit.cloudera.org:8080/4711
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I45906913aed375f860276455223e43f0115a5c0a
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Mike Percy <[email protected]>