Skip to content

Add a new tablet repair framework for faster tablet balance and repair #335

@morningman

Description

@morningman

Current problem

The current tablet repair and balance is based on CloneChecker, which is a fixed scheduler daemon thread. It checks all tablets at fixed period, and try to repair at most Config.clone_max_job_num tablets in one round.

  1. It is very slow because it just run at a fix period even if there is no clone task running now.
  2. User specify the priority of tablet repair, which tablet may be repaired is just a random choice.
  3. No way to check the tablet repair progress.
  4. Heavy coupling with other routine job such as ALTER.

The new tablet repair framework will solve there problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions