You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Yuqi Du (Code Review)" <ge...@cloudera.org> on 2022/08/29 07:30:09 UTC

[kudu-CR] [master] KUDU-3389 rafact auto-rebalancer periodic tasks using SchedulerThread

Hello Tidy Bot, Alexey Serbin, Yingchun Lai, Yifan Zhang, Kudu Jenkins, Abhishek Chennaka, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/18679

to look at the new patch set (#36).

Change subject: [master] KUDU-3389 rafact auto-rebalancer periodic tasks using SchedulerThread
......................................................................

[master] KUDU-3389 rafact auto-rebalancer periodic tasks using SchedulerThread

There are many independent, idle and isolated threads(which do periodic tasks),
these threads don't participant in thread pool. auto-rebalancer is one of them.
The patch add a thread pool has 1 thread called 'scheduler_pool_' instead of
auto-rebalancer's Thread.

In the future, more isolated threads (which do periodic tasks), can use the
unified thread pool instead of them.

Change-Id: Ifbcea6392b783843f89e019f1141dd8905366de5
---
M src/kudu/master/auto_rebalancer-test.cc
M src/kudu/master/auto_rebalancer.cc
M src/kudu/master/auto_rebalancer.h
M src/kudu/master/catalog_manager.cc
M src/kudu/master/catalog_manager.h
5 files changed, 157 insertions(+), 90 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/18679/36
-- 
To view, visit http://gerrit.cloudera.org:8080/18679
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifbcea6392b783843f89e019f1141dd8905366de5
Gerrit-Change-Number: 18679
Gerrit-PatchSet: 36
Gerrit-Owner: Yuqi Du <sh...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Yingchun Lai <ac...@gmail.com>
Gerrit-Reviewer: Yuqi Du <sh...@gmail.com>