Yifan Zhang has posted comments on this change. ( http://gerrit.cloudera.org:8080/15995 )
Change subject: [maintenance] use workload statistics to scale perf score of flushes/compactions ...................................................................... Patch Set 16: (2 comments) http://gerrit.cloudera.org:8080/#/c/15995/15/src/kudu/tablet/tablet.cc File src/kudu/tablet/tablet.cc: http://gerrit.cloudera.org:8080/#/c/15995/15/src/kudu/tablet/tablet.cc@159 PS15, Line 159: workloa > nit: workload metrics Done http://gerrit.cloudera.org:8080/#/c/15995/15/src/kudu/tablet/tablet.cc@2099 PS15, Line 2099: type == MaintenanceOp::FLUSH_OP) { : // Flush ops are already scored based on how hot the tablet is : // for writes, so we'll only adjust the workload score based on : // how hot the tablet is for reads. > nit: We could probably get by with just a single `last_rows_mutated_` -- th Done -- 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: comment Gerrit-Change-Id: Ie3afcc359002d1392164ba2fda885f8930ef8696 Gerrit-Change-Number: 15995 Gerrit-PatchSet: 16 Gerrit-Owner: Yifan Zhang <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Yifan Zhang <[email protected]> Gerrit-Reviewer: Yingchun Lai <[email protected]> Gerrit-Comment-Date: Sat, 01 Aug 2020 00:59:13 +0000 Gerrit-HasComments: Yes
