there are some memory leak in TTL's implement #45510
Labels
affects-6.6
affects-7.0
affects-7.1
affects-7.2
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
If you run tidb with a very long time with many TTL tables, you can seem some memory leak:
tidb/session/session.go
Lines 3660 to 3665 in 9e20208
it only sets two collectors to nil but did not call
Delete
for it.tidb/ttl/ttlworker/task_manager.go
Lines 391 to 399 in 9e20208
The text was updated successfully, but these errors were encountered: