Skip to content

Memory leak in region statistics #8710

@rleungx

Description

@rleungx

Bug Report

#7748 is going to fix the region statistics issue. But when cherry-picking to release 7.1 and 6.5. The PR forgot to delete the offline index when executing ClearDefunctRegion. See

EjZBjzs19m

https://github.com/tikv/pd/pull/7840/files#diff-dab84781ea260730fbe8dc607a08a59bd397947731905e3b3d9d2c3ad1ab0330R303-R311

After merging, it may be left in memory until the PD restarts.

Metadata

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