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

bug: Failed to execute compact during insertion #8108

Closed
1 of 2 tasks
Tracked by #7823
yufan022 opened this issue Oct 10, 2022 · 0 comments · Fixed by #8205
Closed
1 of 2 tasks
Tracked by #7823

bug: Failed to execute compact during insertion #8108

yufan022 opened this issue Oct 10, 2022 · 0 comments · Fixed by #8205
Assignees
Labels
C-bug Category: something isn't working

Comments

@yufan022
Copy link
Contributor

yufan022 commented Oct 10, 2022

Search before asking

  • I had searched in the issues and found no similar issues.

Version

0.8.67

What's Wrong?

If there is an insert/streaming load operation during compression, the optimize table xx compact will fail.

MySQL [(none)]> optimize table xx compact;
ERROR 1105 (HY000): Code: 2009, displayText = TableVersionMismatched: 276953 expect `== 277527` but `277528`  while `update_table_meta`.

How to Reproduce?

  1. execute optimize table xx compact
  2. execute insert/streaming load
  3. compact failed and report error

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@yufan022 yufan022 added the C-bug Category: something isn't working label Oct 10, 2022
@zhyass zhyass self-assigned this Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants