Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18965


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, 90 insertions(+), 60 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/65/18965/1
--
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: newchange
Gerrit-Change-Id: I25507963f87e08a6c3a8ba2ff1ca58836b713e18
Gerrit-Change-Number: 18965
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to