pingcap / pingcap/tidb

Drop resource group should clean the runaway_watch

Open
#56,911 3 comments 0 reactions 1 assignee Claimed by @bufferflies View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

```
create rg_test RU_PER_SEC = 1000 QUERY_LIMIT=(EXEC_ELAPSED '10ms' ACTION KILL WATCH =PLAN)
drop rg_test
```
there are many stale records in
![image](https://github.com/user-attachments/assets/81e9641f-460a-479f-abf2-54dc163c6d64)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.