You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "David Ribeiro Alves (Code Review)" <ge...@cloudera.org> on 2018/01/08 20:55:21 UTC

[kudu-CR] [fuzz-itest] Add the ability to roll/gc logs and to run elections

Hello Tidy Bot, Kudu Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/8884

to look at the new patch set (#7).

Change subject: [fuzz-itest] Add the ability to roll/gc logs and to run elections
......................................................................

[fuzz-itest] Add the ability to roll/gc logs and to run elections

There are certain bugs that depend on what is present in the WAL
at boostrap time. Just recently, we found KUDU-2233, a bug that only
manifested when the tablet server booted to a WAL that was devoid of
entries other than NO_OPs of CONFIG_CHANGEs. To make sure that these
cases also have a chance to occur in fuzz-itest this patch add three
new types of operations:
- Roll log - Rolls the log if possible.
- GC log - Garbage collects log segments, if possible.
- Run election - Runs an (emulated) leader election increasing the
term and adding a NO_OP to the log.

Change-Id: I3708366fcd941098e784d911676a4deb32c67c50
---
M src/kudu/consensus/log.cc
M src/kudu/integration-tests/fuzz-itest.cc
2 files changed, 69 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/84/8884/7
-- 
To view, visit http://gerrit.cloudera.org:8080/8884
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3708366fcd941098e784d911676a4deb32c67c50
Gerrit-Change-Number: 8884
Gerrit-PatchSet: 7
Gerrit-Owner: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot