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

After a pool is created and deleted, an error occurs when the pool is re-created with NewSPMCPool #40546

Closed
zimulala opened this issue Jan 12, 2023 · 0 comments · Fixed by #40547
Labels
severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@zimulala
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

pool, _ := NewSPMCPool[int, int, ConstArgs, any, pooltask.NilContext]("TestPool", 10, rmutil.UNKNOWN)
pool.ReleaseAndWait()
var err error
pool, err = NewSPMCPool[int, int, ConstArgs, any, pooltask.NilContext]("TestPool", 10, rmutil.UNKNOWN)

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

err is nil

3. What did you see instead (Required)

error is pool is already exist

4. What is your TiDB version? (Required)

Release Version: v6.6.0-alpha-210-gaef752a40
Edition: Community
Git Commit Hash: aef752a407aca3cd379f9941cd51f475abea9bcb
Git Branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant