Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/18082
Change subject: [rpc] style cleanup on transfer.{cc,h}
......................................................................
[rpc] style cleanup on transfer.{cc,h}
Since I was taking a look into the code of tranfer.{cc,h}, I also took
the liberty to update the code to be in-line with the style guide and
did other minor updates:
* added PREDICT_FALSE() into the hot path where appropriate
* removed declared but not defined ProcessInboundHeader() method
* corrected the return type of OutboundTransfer::TotalLength()
to be more future-proof
* other unsorted minor updates
Change-Id: Ib0efc5d815fd44b94737a999fee02a0413be62f1
---
M src/kudu/rpc/connection.cc
M src/kudu/rpc/transfer.cc
M src/kudu/rpc/transfer.h
3 files changed, 44 insertions(+), 48 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/82/18082/1
--
To view, visit http://gerrit.cloudera.org:8080/18082
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0efc5d815fd44b94737a999fee02a0413be62f1
Gerrit-Change-Number: 18082
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>