Hello Dan Burkert, David Ribeiro Alves, Alexey Serbin, Kudu Jenkins, I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/7912 to review the following change. Change subject: consensus: Save previous last-logged OpId across tablet copies ...................................................................... consensus: Save previous last-logged OpId across tablet copies When a replica falls behind the leader's log, and then fails a tablet copy, it should still be able to vote in leader elections while tombstoned. With this patch, that becomes possible. This helps with availability. Without this patch, asking a post-tablet copy failure replica to vote would result in the following RPC response: IllegalState: must be running to vote when last-logged opid is not known Change-Id: Ie886764adbdc6d84406df44d6cdb693d038bcd57 Reviewed-on: http://gerrit.cloudera.org:8080/7888 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <aser...@cloudera.com> Reviewed-by: David Ribeiro Alves <davidral...@gmail.com> --- M src/kudu/integration-tests/raft_consensus-itest.cc M src/kudu/tablet/tablet_metadata.cc M src/kudu/tserver/tablet_copy_client.cc M src/kudu/tserver/ts_tablet_manager.cc M src/kudu/tserver/ts_tablet_manager.h 5 files changed, 81 insertions(+), 13 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/12/7912/1 -- To view, visit http://gerrit.cloudera.org:8080/7912 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie886764adbdc6d84406df44d6cdb693d038bcd57 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: branch-1.5.x Gerrit-Owner: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Dan Burkert <danburk...@apache.org> Gerrit-Reviewer: David Ribeiro Alves <davidral...@gmail.com> Gerrit-Reviewer: Kudu Jenkins