Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/13858
Change subject: KUDU-2635: treat failure to delete failed blocks as OK ...................................................................... KUDU-2635: treat failure to delete failed blocks as OK It was previously possible to leave some orphaned blocks in the in-memory orphaned blocks list by failing to delete some blocks due to a disk failure. Upon deleting a tablet with such orphaned blocks, Kudu could crash. This patch addresses this by treating such failures to delete blocks from failed data directories as OK, from the stance of actually deleting the block. For all intents and purposes, the blocks aren't coming back. A test is added that passed 1/100 times when run on dist-test in debug mode. With the patch, it passes 100/100 times. Change-Id: Ice78f41d6d367d42ad31c2127ceb5fc57a244e34 --- M src/kudu/fs/log_block_manager.cc M src/kudu/tserver/tablet_server-test.cc 2 files changed, 35 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/58/13858/1 -- To view, visit http://gerrit.cloudera.org:8080/13858 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ice78f41d6d367d42ad31c2127ceb5fc57a244e34 Gerrit-Change-Number: 13858 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
