You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Maxim Smyatkin (Code Review)" <ge...@cloudera.org> on 2016/11/18 18:31:41 UTC

[kudu-CR] KUDU-1634 (part 2). Removed redundant check for tmp log segments.

Hello Kudu Jenkins,

I'd like you to reexamine a change.  Please visit

    http://gerrit.cloudera.org:8080/5122

to look at the new patch set (#2).

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
---
M src/kudu/consensus/log_util.cc
M src/kudu/consensus/log_util.h
2 files changed, 0 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/22/5122/2
-- 
To view, visit http://gerrit.cloudera.org:8080/5122
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9cf25fbe6ecfc28aed9443cdfb6fb56100394c73
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Maxim Smyatkin <sm...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Maxim Smyatkin <sm...@gmail.com>