pingcap / pingcap/tidb

[next-gen on clould] tidb log always prints warning “[agg_hash_executor.go:212] ["Memory tracker's counter is invalid"] [keyspaceName=5852a249]”

Open
#61,162 5 comments 0 reactions 1 assignee Claimed by @guo-shaoge View on GitHub
severity/moderate sig/execution type/bug
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]”

![Image](https://github.com/user-attachments/assets/7587864e-a17e-4fca-a522-3b93557bcfad)

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

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.