Hello Yingchun Lai, Yifan Zhang, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/18965
to look at the new patch set (#3).
Change subject: [cfile] unsorted updates on cfile_reader.{h,cc}
......................................................................
[cfile] unsorted updates on cfile_reader.{h,cc}
This patch makes the code in cfile_reader.{h,cc} a bit more robust:
* check more rigorously for invariants to protect against unsigned
integer underflow, etc.
* don't crash but instead return Status::Corruption() when possible
* optimized the check on whether to verify checksums
* added 'final' to CFileIterator and DefaultColumnValueIterator
classes to provide more de-virtualisation opportunities for compiler
* added PREDICT_{FALSE,TRUE} where appropriate
* added the 'runtime' tag for the --cfile_verify_checksums flag
* other minor updates
Change-Id: I25507963f87e08a6c3a8ba2ff1ca58836b713e18
---
M src/kudu/cfile/cfile_reader.cc
M src/kudu/cfile/cfile_reader.h
2 files changed, 101 insertions(+), 71 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/65/18965/3
--
To view, visit http://gerrit.cloudera.org:8080/18965
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I25507963f87e08a6c3a8ba2ff1ca58836b713e18
Gerrit-Change-Number: 18965
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>