Yifan Zhang has uploaded this change for review. ( 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 --- M src/kudu/master/catalog_manager.cc M src/kudu/master/table_metrics.cc 2 files changed, 8 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/46/14446/1 -- 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: newchange Gerrit-Change-Id: I3f837466a0420dafef4f9426929b7b1622702ffc Gerrit-Change-Number: 14446 Gerrit-PatchSet: 1 Gerrit-Owner: Yifan Zhang <[email protected]>
