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

delete extended stats cache item in current tidb synchronously for alter table drop stats_extended #23065

Closed
eurekaka opened this issue Mar 3, 2021 · 0 comments · Fixed by #23088
Assignees
Labels
component/statistics type/enhancement The issue or PR belongs to an enhancement.

Comments

@eurekaka
Copy link
Contributor

eurekaka commented Mar 3, 2021

Development Task

Currently, alter table drop stats_extended would only update records in mysql.stats_extended, and the stats cache item is removed in the next Update() routine, so the removal is in an async style. This behavior is kind of counter-intuitive, we'd better make the removal on current tidb synchronously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/statistics type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant