Warning in memory tracker #66526
Replies: 3 comments
|
Original author: Hazel
Hi @Fredrik_Jonsson , this is a known bug, and it has already been fixed on the master branch. You can safely ignore this log, it doesn’t affect correctness. many error log "Memory tracker's counter is invalid"## Bug Report Please answer these questions before submitting your issue. Thank…s! 1. Minimal reproduce step (Required)This is an internal test, https://tcms.pingcap.net/api/v1/artifact-files/ks3/archive/endless-ha-test-import-into-tps-7802999-1-56/2025-01-08T19:20:13Z/tc-tidb-0 2. What did you expect to see? (Required)3. What did you see instead (Required)4. What is your TiDB version? (Required) |
|
Original author: Fredrik_Jonsson Thanks you for quick reply. |
|
Original author: TiDB-AI-Assistant Comprehensive Response: Addressing “Memory Tracker’s Counter is Invalid” in TiDB 8.5.11. Confirmation of Known BugThis is a known issue related to TiDB’s memory tracking subsystem. Similar bugs (e.g., memory leaks due to improper 2. Explanation & Impact
3. Reassurance on StabilityYour system’s correctness and stability are unaffected. This is a non-critical, non-deterministic logging issue—not a data integrity flaw. Production clusters with this warning have operated safely while awaiting patches. 4. Recommended Immediate Actions
5. Permanent Fix via Upgrade
6. Monitoring Recommendations
SummaryThis warning is a harmless accounting glitch in TiDB 8.5.1. While no immediate action is required, plan an upgrade to a patched version for long-term resolution. Monitor memory metrics closely, and rest assured that your data remains safe. For urgent concerns, contact PingCAP Support with logs and Grafana snapshots. |
Uh oh!
There was an error while loading. Please reload this page.
Original author: Fredrik_Jonsson
Original time: 2025-06-09 07:54:37.187271
Original ID/Slug: 10502 / warning-in-memory-tracker
v8.5.1 self hosted
Production
[2025/06/09 07:34:17.297 +00:00] [WARN] [agg_hash_executor.go:212] [“Memory tracker’s counter is invalid”] [counter=-34354]
Is this a bug? What can I do to assist in resolving this?
All reactions