Dan Burkert has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9093 )

Change subject: consensus: avoid extra calls to protobuf SpaceUsed in the log 
cache
......................................................................


Patch Set 3:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/9093/3//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/9093/3//COMMIT_MSG@9
PS3, Line 9: The SpaceUsed function appears to be somewhat expensive since it 
walks
> Unfortunately that gets you the byte size, not the in-memory size, which ca
Oh I see, thanks for the clarification.


http://gerrit.cloudera.org:8080/#/c/9093/3/src/kudu/consensus/log_cache.cc
File src/kudu/consensus/log_cache.cc:

http://gerrit.cloudera.org:8080/#/c/9093/3/src/kudu/consensus/log_cache.cc@154
PS3, Line 154: do calculate
typo



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0439995fb1369a3333b7d5858518d01277b53076
Gerrit-Change-Number: 9093
Gerrit-PatchSet: 3
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Comment-Date: Wed, 24 Jan 2018 19:43:47 +0000
Gerrit-HasComments: Yes

Reply via email to