Adar Dembo has submitted this change and it was merged. Change subject: KUDU-1791: tighten up read only usage in log block manager ......................................................................
KUDU-1791: tighten up read only usage in log block manager Over time we had introduced a couple new file deletion/truncation sites that weren't checking read_only_ before making destructive changes. This was originally caught by open-fs-readonly-itest. Though exceptionally rare, it's difficult to conceive of a different test that would surface the issue more regularly. Change-Id: I029527b78148d68a002a3c42af5a52f179089a95 Reviewed-on: http://gerrit.cloudera.org:8080/5383 Tested-by: Kudu Jenkins Reviewed-by: Dan Burkert <[email protected]> --- M src/kudu/fs/block_manager-test.cc M src/kudu/fs/log_block_manager.cc 2 files changed, 41 insertions(+), 26 deletions(-) Approvals: Dan Burkert: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/5383 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I029527b78148d68a002a3c42af5a52f179089a95 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar Dembo <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]>
