Adar Dembo has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14446 )
Change subject: master: fix the value of table metric 'live_row_count' ...................................................................... master: fix the value of table metric 'live_row_count' When the tablet doesn't support live row counting, the 'live_row_count' metric of the tablet is '-1'. But when master aggregates all tablets' metric of a table, it sums up all '-1's, and the result value is confusing to users. It's better to set it '-1' to be consistent with tablet metric. Change-Id: I3f837466a0420dafef4f9426929b7b1622702ffc Reviewed-on: http://gerrit.cloudera.org:8080/14446 Tested-by: Kudu Jenkins Reviewed-by: Yingchun Lai <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/master/catalog_manager.cc M src/kudu/master/table_metrics.cc 2 files changed, 8 insertions(+), 2 deletions(-) Approvals: Kudu Jenkins: Verified Yingchun Lai: Looks good to me, but someone else must approve Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/14446 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I3f837466a0420dafef4f9426929b7b1622702ffc Gerrit-Change-Number: 14446 Gerrit-PatchSet: 2 Gerrit-Owner: Yifan Zhang <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Yingchun Lai <[email protected]>
