Will Berkeley has uploaded a new change for review.

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

Change subject: KUDU-1755 Part 2: Improve table on-disk size metric
......................................................................

KUDU-1755 Part 2: Improve table on-disk size metric

This adds WAL segment and (an estimate of) cmeta sizes to the tablet
on-disk metric. This is a little bit trickier than previous
improvements because this info is held by the TabletReplica, not the
Tablet, so the on-disk metric itself had to be relocated and plugged
in to TabletReplica::EstimateOnDiskSize.

The cmeta size is estimated because it would require adding extra
plumbing to get the size, and it doesn't seem worth it because the
component we can't compute precisely is about 40 bytes.

Change-Id: Ia83f8aae0a544abbd19f5a34520b4828b89b6315
---
M src/kudu/tablet/tablet.cc
M src/kudu/tablet/tablet_replica.cc
M src/kudu/tablet/tablet_replica.h
3 files changed, 43 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/68/6968/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6968
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia83f8aae0a544abbd19f5a34520b4828b89b6315
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Will Berkeley <[email protected]>

Reply via email to