Adar Dembo has posted comments on this change.

Change subject: KUDU-1551. Ignore log segments which were preallocated but have 
no header.
......................................................................


Patch Set 2:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/5276/2/src/kudu/consensus/log_reader.cc
File src/kudu/consensus/log_reader.cc:

Line 146:       if (s.IsUninitialized()) {
Do these segments get deleted?


PS2, Line 149: .
Nit: extra period here?


http://gerrit.cloudera.org:8080/#/c/5276/2/src/kudu/consensus/log_util.cc
File src/kudu/consensus/log_util.cc:

PS2, Line 473: ""
Can we put something useful here?


http://gerrit.cloudera.org:8080/#/c/5276/2/src/kudu/integration-tests/ts_recovery-itest.cc
File src/kudu/integration-tests/ts_recovery-itest.cc:

Line 206:   // Enable the fault point after creating the table, but before 
writing any data.
Why is it important to do enable the fault after table creation? If it's done 
at the very beginning, the tserver may crash in work.Setup()?


PS2, Line 212: MonoDelta::FromSeconds(30)
Is this going to be enough time on ASAN/TSAN?


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I843cf483b93823cbcc5506958f62cbb076569ca8
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Tidy Bot
Gerrit-HasComments: Yes

Reply via email to