You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Andrew Wong (Code Review)" <ge...@cloudera.org> on 2018/10/01 04:14:53 UTC

[kudu-CR] [tools] ksck checksums: Factor out of main ksck code

Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/11488 )

Change subject: [tools] ksck checksums: Factor out of main ksck code
......................................................................


Patch Set 6: Code-Review+1

(3 comments)

http://gerrit.cloudera.org:8080/#/c/11488/6/src/kudu/tools/ksck_checksum.h
File src/kudu/tools/ksck_checksum.h:

http://gerrit.cloudera.org:8080/#/c/11488/6/src/kudu/tools/ksck_checksum.h@78
PS6, Line 78: disk_bytes_summed
`delta_disk_bytes_summed`, or rename the param to be `disk_bytes_summed` to match `TabletServerChecksumCallbacks`


http://gerrit.cloudera.org:8080/#/c/11488/6/src/kudu/tools/ksck_checksum.cc
File src/kudu/tools/ksck_checksum.cc:

http://gerrit.cloudera.org:8080/#/c/11488/6/src/kudu/tools/ksck_checksum.cc@106
PS6, Line 106:     string status = done ? "finished in " : "running for ";
nit: could be moved into the `if`


http://gerrit.cloudera.org:8080/#/c/11488/6/src/kudu/tools/ksck_checksum.cc@109
PS6, Line 109: << "Checksum " << status << run_time_sec << "s: "
             :              << responses_.count() << "/" << expected_count_ << " replicas remaining ("
             :              << HumanReadableNumBytes::ToString(disk_bytes_summed_.Load()) << " from disk, "
             :              << HumanReadableInt::ToString(rows_summed_.Load()) << " rows summed)"
             :              << endl;
nit: mind writing this with `Substitute()`?



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I4bb1f51af22ab0c6c20b9426dbb62ea48413ed5b
Gerrit-Change-Number: 11488
Gerrit-PatchSet: 6
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Mon, 01 Oct 2018 04:14:53 +0000
Gerrit-HasComments: Yes