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

analyze table shouldn't not block DDL #47475

Closed
wjhuang2016 opened this issue Oct 9, 2023 · 0 comments · Fixed by #50928
Closed

analyze table shouldn't not block DDL #47475

wjhuang2016 opened this issue Oct 9, 2023 · 0 comments · Fixed by #50928
Labels
affects-6.5 affects-7.1 affects-7.5 component/ddl This issue is related to DDL of TiDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@wjhuang2016
Copy link
Member

Enhancement

Currently, if the user executes analyze table, it blocks the DDL on this table by MDL.
Since analzye table is a read-only operation, we can let MDL ignore it.

@wjhuang2016 wjhuang2016 added the type/enhancement The issue or PR belongs to an enhancement. label Oct 9, 2023
ti-chi-bot bot pushed a commit that referenced this issue Feb 8, 2024
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 affects-7.5 component/ddl This issue is related to DDL of TiDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants