Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in region statistics #8710

Closed
rleungx opened this issue Oct 15, 2024 · 0 comments
Closed

Memory leak in region statistics #8710

rleungx opened this issue Oct 15, 2024 · 0 comments
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. may-affects-5.4 may-affects-6.1 may-affects-7.5 may-affects-8.1 report/customer Customers have encountered this bug. severity/major type/bug The issue is confirmed as a bug.

Comments

@rleungx
Copy link
Member

rleungx commented Oct 15, 2024

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.

@rleungx rleungx added type/bug The issue is confirmed as a bug. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. labels Oct 15, 2024
@rleungx rleungx changed the title Memory leak of region statistics Memory leak in region statistics Oct 15, 2024
ti-chi-bot bot pushed a commit that referenced this issue Oct 22, 2024
ti-chi-bot bot pushed a commit that referenced this issue Oct 28, 2024
@rleungx rleungx closed this as completed Oct 28, 2024
@ti-chi-bot ti-chi-bot bot added the report/customer Customers have encountered this bug. label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. may-affects-5.4 may-affects-6.1 may-affects-7.5 may-affects-8.1 report/customer Customers have encountered this bug. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

1 participant