Adar Dembo has submitted this change and it was merged.

Change subject: KUDU-1634 (part 2). Removed redundant check for tmp log 
segments.
......................................................................


KUDU-1634 (part 2). Removed redundant check for tmp log segments.

Temporary consensus log semgents are being named this way:
.tmp.newsegmentXXXXXX, meaning they are already being ignorred by
HasPrefixString(fname, ".") check for hidden files and "." or "..".
So, there is actually no reason to look for tmp files specifically.

Change-Id: I9cf25fbe6ecfc28aed9443cdfb6fb56100394c73
Reviewed-on: http://gerrit.cloudera.org:8080/5122
Reviewed-by: Adar Dembo <[email protected]>
Reviewed-by: Todd Lipcon <[email protected]>
Tested-by: Adar Dembo <[email protected]>
---
M src/kudu/consensus/log_util.cc
M src/kudu/consensus/log_util.h
2 files changed, 0 insertions(+), 10 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved; Verified
  Todd Lipcon: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.cloudera.org:8080/5122
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9cf25fbe6ecfc28aed9443cdfb6fb56100394c73
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Maxim Smyatkin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Maxim Smyatkin <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to