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

[kudu-CR] KUDU-2256: Add GetTransferSize() to RpcContext

Hello Michael Ho, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/8998

to look at the new patch set (#4).

Change subject: KUDU-2256: Add GetTransferSize() to RpcContext
......................................................................

KUDU-2256: Add GetTransferSize() to RpcContext

This changes adds GetTransferSize() to RpcContext to retrieve the
payload size of the inbound call. This makes it easier to track the
memory of incoming RPCs in the handler methods.

To test this I added a CHECK to one of the handler methods in
CalculatorService.

Change-Id: Iab2519bad1815aeccaa119f1605638bfd3604382
---
M src/kudu/rpc/rpc-test-base.h
M src/kudu/rpc/rpc_context.cc
M src/kudu/rpc/rpc_context.h
3 files changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/98/8998/4
-- 
To view, visit http://gerrit.cloudera.org:8080/8998
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iab2519bad1815aeccaa119f1605638bfd3604382
Gerrit-Change-Number: 8998
Gerrit-PatchSet: 4
Gerrit-Owner: Lars Volker <lv...@cloudera.com>
Gerrit-Reviewer: Lars Volker <lv...@cloudera.com>
Gerrit-Reviewer: Michael Ho <kw...@cloudera.com>