Yifan Zhang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15995
Change subject: [maintenance] use workload statistics to scale perf_improvement ...................................................................... [maintenance] use workload statistics to scale perf_improvement When we consider the performance improvement brought by maintenance operations, we should consider tablet statistics, so we prefer 'hot' tablets. This patch use a heuristic way to scale perf_improvement, read/write rate that has been since the last maintenance op performs will be add to the perf_improvement, so ops on 'hot' tablets will be more likely to picked by maintenance manager. Change-Id: Ie3afcc359002d1392164ba2fda885f8930ef8696 --- M src/kudu/tablet/tablet.cc M src/kudu/tablet/tablet_mm_ops.cc M src/kudu/tablet/tablet_mm_ops.h M src/kudu/tablet/tablet_replica-test.cc M src/kudu/tablet/tablet_replica_mm_ops.cc M src/kudu/tablet/tablet_replica_mm_ops.h M src/kudu/util/maintenance_manager.cc 7 files changed, 182 insertions(+), 30 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/95/15995/1 -- To view, visit http://gerrit.cloudera.org:8080/15995 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie3afcc359002d1392164ba2fda885f8930ef8696 Gerrit-Change-Number: 15995 Gerrit-PatchSet: 1 Gerrit-Owner: Yifan Zhang <[email protected]>
