[
https://issues.apache.org/jira/browse/KUDU-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090861#comment-18090861
]
ASF subversion and git services commented on KUDU-3730:
-------------------------------------------------------
Commit 41d277d33fb85f01017eb921b645553c8e9cab13 in kudu's branch
refs/heads/master from Gabriella Lotz
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=41d277d33 ]
KUDU-3730 Add observability counters to the auto-rebalancer
Introduce three new server-level metrics to track rebalancing activity:
leader/follower moves scheduled and rounds completed.
Rebalancer::FindReplicas() is changed to return bool to signal whether
the leader-fallback path was taken.
Change-Id: I34ab527033ed71b1b591d86387f7f3af2dd4f6a3
Reviewed-on: http://gerrit.cloudera.org:8080/24319
Reviewed-by: Marton Greber <[email protected]>
Tested-by: Marton Greber <[email protected]>
Reviewed-by: Abhishek Chennaka <[email protected]>
> Add observability metrics
> -------------------------
>
> Key: KUDU-3730
> URL: https://issues.apache.org/jira/browse/KUDU-3730
> Project: Kudu
> Issue Type: Sub-task
> Reporter: Gabriella Lotz
> Assignee: Gabriella Lotz
> Priority: Major
>
> {*}File{*}:
> {{[src/kudu/master/auto_rebalancer.cc](src/kudu/master/auto_rebalancer.cc)}}
> (new {{METRIC_DEFINE_counter}} entries, mirroring the pattern in
> {{{}[src/kudu/master/ts_manager.cc:55](src/kudu/master/ts_manager.cc){}}})
> Counters to add (server-entity scope):
> * {{auto_rebalancer_leader_moves_scheduled}} — incremented in
> {{ExecuteMoves()}} when the tablet selected by {{FindReplicas()}} came from
> {{tablet_uuids_src_leaders}} (i.e., no follower was available)
> * {{auto_rebalancer_follower_moves_scheduled}} — incremented when the tablet
> came from {{tablet_uuids_src}} (non-leader path)
> * {{auto_rebalancer_rounds_completed}} — incremented once per full
> rebalancing cycle at the end of the {{do \{ } while}} loop in {{Run()}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)