Adar Dembo has submitted this change and it was merged. Change subject: log block manager: corruptor test utility ......................................................................
log block manager: corruptor test utility This patch introduces the LBMCorruptor, a test-only class for adding various inconsistencies to the LBM's on-disk structures. The bulk of the patch is a set of new tests that exercise the corruptor and then verify the results via the generated FsReport. Additionally, block_manager-stress-test has been modified to inject non-fatal inconsistencies via the LBMCorruptor in between passes. Change-Id: I197b693d5a3c1a909e91b772ebfb31e50bae488b Reviewed-on: http://gerrit.cloudera.org:8080/6582 Tested-by: Kudu Jenkins Reviewed-by: Todd Lipcon <[email protected]> Reviewed-by: David Ribeiro Alves <[email protected]> --- M src/kudu/fs/CMakeLists.txt M src/kudu/fs/block_manager-stress-test.cc A src/kudu/fs/log_block_manager-test-util.cc A src/kudu/fs/log_block_manager-test-util.h M src/kudu/fs/log_block_manager-test.cc 5 files changed, 857 insertions(+), 39 deletions(-) Approvals: David Ribeiro Alves: Looks good to me, approved Todd Lipcon: Looks good to me, but someone else must approve Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/6582 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I197b693d5a3c1a909e91b772ebfb31e50bae488b Gerrit-PatchSet: 12 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar Dembo <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]>
