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

Using wrong key value in engineInfo.closeWriters #40881

Closed
zimulala opened this issue Jan 31, 2023 · 1 comment
Closed

Using wrong key value in engineInfo.closeWriters #40881

zimulala opened this issue Jan 31, 2023 · 1 comment
Assignees
Labels
affects-6.6 may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. 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.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 may-affects-6.5 severity/major 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)

tidb/ddl/ingest/engine.go

Lines 206 to 207 in ee758bc

for wid := range ei.writerCache.Keys() {
if w, ok := ei.writerCache.Load(wid); ok {

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

I think we want to get the key value.

3. What did you see instead (Required)

Get the sequence number.

4. What is your TiDB version? (Required)

Release Version: v6.6.0-alpha-306-g28d0325ae1-dirty
Edition: Community
Git Commit Hash: 28d0325ae12f080b978a147bba9f8467557019cd
Git Branch: master
@zimulala zimulala added type/bug The issue is confirmed as a bug. sig/sql-infra SIG: SQL Infra labels Jan 31, 2023
@zimulala zimulala self-assigned this Jan 31, 2023
@zimulala
Copy link
Contributor Author

It will be fixed in #40542

@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. 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.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 may-affects-6.5 labels Jan 31, 2023
zimulala added a commit to zimulala/tidb that referenced this issue Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.6 may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. 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.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 may-affects-6.5 severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants