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

Potential concurrency issue when executing exchange partition #8378

Closed
JaySon-Huang opened this issue Nov 16, 2023 · 1 comment
Closed

Potential concurrency issue when executing exchange partition #8378

JaySon-Huang opened this issue Nov 16, 2023 · 1 comment
Labels

Comments

@JaySon-Huang
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

3. What did you see instead (Required)

table_id_map.eraseTableIDOrLogError(diff.old_table_id);
table_id_map.emplaceTableID(diff.table_id, diff.schema_id);
table_id_map.erasePartitionTableIDOrLogError(diff.table_id);
table_id_map.emplacePartitionTableID(diff.old_table_id, diff.affected_opts[0].table_id);

Executing exchange partition in table id mapping is not atomic

4. What is your TiFlash version? (Required)

master/7.5.0

@JaySon-Huang
Copy link
Contributor Author

resolved in #8402

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

Successfully merging a pull request may close this issue.

1 participant