[next-gen on clould] tidb log always prints warning “[agg_hash_executor.go:212] ["Memory tracker's counter is invalid"] [keyspaceName=5852a249]”
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
1、br restore tpcc data to keyspace1
tpcc-1000-new
2、br restore sysbench data to keyspace2
sysbench-32-10000000
3、run tpcc with 32 threads and sysbench with 32 threads
### 2. What did you expect to see? (Required)
No exception log
### 3. What did you see instead (Required)
tidb log always prints warning “[agg_hash_executor.go:212] ["Memory tracker's counter is invalid"] [keyspaceName=5852a249]”

adjust tidb_mem_quota_query to 10GB,the same issue existed
### 4. What is your TiDB version? (Required)
sh-5.1# ./tidb-server -V
Release Version: v8.5.0-cse
Edition: Community
Git Commit Hash: https://github.com/pingcap/tidb/commit/b00c6ae966056fe1650211754b14005ef0505279
Git Branch: heads/refs/tags/v8.5.0-cse
UTC Build Time: 2025-03-26 15:42:56
GoVersion: go1.23.3
Race Enabled: false
Check Table Before Drop: false
Store: unistore
Contributor guide
Assessment
This issue has not been assessed yet.