You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2018/11/21 12:48:37 UTC
[GitHub] morningman opened a new pull request #336: First commit of new
tablet repair framework
morningman opened a new pull request #336: First commit of new tablet repair framework
URL: https://github.com/apache/incubator-doris/pull/336
There are 3 new main classes
1. TabletScanner
This scanner is responsible for scanning all unhealthy tablets,
and add them to the TabletFactory.
It does not responsible for any scheduler of tablet repairing or balance.
2. TabletFactory
TabletFactory saved the tablets produced by TabletScanner and try to repair them.
It also tries to balance the cluster load at each round.
TabletScanner runs at a interval of 1 min.
TabletFactory runs at a interval of 1 sec.
And at each run, it will handle at most 10 tablets.
A backend slots map is saved in TabletFactory, to limit the number of concurrent
running tasks on one Backend.
TODO:
1. balance logic is not implemented yet.
2. clone task finish report is not handled yet.
3. no unit test cases.
ISSUE: #335
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org