Hello Todd Lipcon,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/7144
to review the following change.
Change subject: fs_manager: clean tmp files from all special directories
......................................................................
fs_manager: clean tmp files from all special directories
Commit c26e09e regressed tmp file cleanup in that the tablet-meta and cmeta
directories were no longer cleaned. This is because I assumed that the
cleanup done in DataDirManager::Open would include these directories (they
are typically found in the first data root), but I forgot that in the
DataDirManager, a data directory is the data root plus a "/data" suffix.
This patch fixes that by explicitly including all "special" directories in
the FsManager's cleanup routine.
Change-Id: Ia6340ad72a6996869e7a83d0d66c165dfe2173c8
---
M src/kudu/fs/fs_manager.cc
M src/kudu/fs/fs_manager.h
2 files changed, 11 insertions(+), 6 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/44/7144/1
--
To view, visit http://gerrit.cloudera.org:8080/7144
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6340ad72a6996869e7a83d0d66c165dfe2173c8
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>