pingcap / pingcap/tidb

Track the memory usage of snapshot cache in client

Open
#35,626 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

The snapshot cache in client-go can consume a large amount of memory. The memory footprint should be tracked.

https://github.com/tikv/client-go/blob/98a4e2776e38117aba89c54a80575a993a701fa7/txnkv/txnsnapshot/snapshot.go#L127

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.