David Ribeiro Alves has uploaded this change for review. ( http://gerrit.cloudera.org:8080/8883
Change subject: [raft] Make EmulateElection wait until an OP got committed ...................................................................... [raft] Make EmulateElection wait until an OP got committed This forces EmulateElection to wait until at least one OP got committed after running an emulated election. In distributed/ multi-threaded scenarios this is not enough to guarantee that it was actually the NO_OP that got committed. However in single-threaded/ single-server cases this is enough to make emulated elections deterministic which is, in turn, very useful for tests like fuzz-itest. Change-Id: I4815abf09d298f227ffe57b68d5b429c43c1d69b --- M src/kudu/consensus/raft_consensus.cc 1 file changed, 14 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/83/8883/1 -- To view, visit http://gerrit.cloudera.org:8080/8883 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I4815abf09d298f227ffe57b68d5b429c43c1d69b Gerrit-Change-Number: 8883 Gerrit-PatchSet: 1 Gerrit-Owner: David Ribeiro Alves <[email protected]>
