Hello Tidy Bot, Mike Percy, Kudu Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/10591 to look at the new patch set (#9). Change subject: KUDU-1038 Deleting a tablet should also delete its log recovery directory, if any ...................................................................... KUDU-1038 Deleting a tablet should also delete its log recovery directory, if any This fix ensures successful bootstrap of a failed tablet replica, in the case when its WAL segments are missing/deleted. The following scenario is tested: 1. A log segment is deleted from one of the Tablet Replicas. 2. On server restart, the replica in step 1. enters a failed state. ( Without this fix, due to the presence of log recovery directory (with deleted log segments), the replica remains in a FAILED state and fails to bootstrap ) 3. This fix deletes the log recovery directory when the tablet data is deleted, as a result of which the failed replica successfully bootstraps. Change-Id: If3f017caf41ac4e00bf89421d6e73924b9fdcbd0 --- M src/kudu/consensus/log.cc M src/kudu/consensus/log.h M src/kudu/integration-tests/ts_recovery-itest.cc M src/kudu/tablet/tablet_bootstrap.cc M src/kudu/tserver/ts_tablet_manager.cc 5 files changed, 143 insertions(+), 37 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/91/10591/9 -- To view, visit http://gerrit.cloudera.org:8080/10591 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: If3f017caf41ac4e00bf89421d6e73924b9fdcbd0 Gerrit-Change-Number: 10591 Gerrit-PatchSet: 9 Gerrit-Owner: Anupama Gupta <anupama.gu...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Tidy Bot