Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcd client leak when a table uses AUTO_ID_CACHE=1 and auto_increment #46324

Closed
D3Hunter opened this issue Aug 22, 2023 · 1 comment · Fixed by #46647
Closed

etcd client leak when a table uses AUTO_ID_CACHE=1 and auto_increment #46324

D3Hunter opened this issue Aug 22, 2023 · 1 comment · Fixed by #46647

Comments

@D3Hunter
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

nowhere close this etcd client

etcdCli, err := clientv3.New(clientv3.Config{

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

this code is introduced in tidb version >= 6.4.0

@D3Hunter D3Hunter added the type/bug The issue is confirmed as a bug. label Aug 22, 2023
@D3Hunter D3Hunter changed the title etcd client leak when using AUTO_ID_CACHE=1 etcd client leak when a table uses AUTO_ID_CACHE=1 and auto_increment Aug 22, 2023
@tiancaiamao tiancaiamao self-assigned this Aug 23, 2023
@ti-chi-bot ti-chi-bot bot added may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Aug 23, 2023
@tiancaiamao
Copy link
Contributor

Ref #48869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants