Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Too many empty region after restoration of many small tables #1374

Closed
pingcap/tidb
#27240
@YuJuncen

Description

  1. What did you do?
    Restore a workload with 190G, 6000 tables, according to the backup meta, there are about 42K files backed up.

  2. What did you expect to see?
    Restore done, and the region count should be less than 42K (or we nearly must get empty regions), and the number of empty region should be a reasonable value.

  3. What did you see instead?
    See figures below.

Figure 1. too many unhealthy regions
image
Figure 2. too many regions
image

  1. What version of BR and TiDB/TiKV/PD are you using?

Nightly (2020-7-20)

  1. Operation logs

(The log is too large to be updated... Too many write conflicts with crating tables concurrently...)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions