-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
drop old table twice at the same time #737
Comments
@shlomi-noach after investigate the code,when "Timeout while waiting for events up to lock",drop old table happened at Lines 854 to 859 in ffc6c40
and also at Lines 611 to 614 in ffc6c40
there is a race condition between these two drop old table,and may send twice to mysql,and due to "mysql slave enable MTS(multi-threaded-replication)" ,those two drop lead a dead lock。see processlist in above comment。 |
@shlomi-noach i am thinking sentry table create in Line 781 in ffc6c40
Line 606 in ffc6c40
can we mv Lines 611 to 614 in ffc6c40
|
ping @shlomi-noach , we need some feedback,thx in advance。 |
Hi @MOON-CLJ , I'm sorry, it'll take me a few days to look into this. Thank you for all your work! |
When will gh-ost fix the bug,there were many times fault on the product envrienment when I altered tables |
I will merge this downstream, at openark#10 |
Hi, do you know why DropAtomicCutOverSentryTableIfExists can not move to AtomicCutOverMagicLock? |
It appears this was resolved with #755. Closing Please open a new issue if this is not the case 🙏 |
it drop old table twice at the same time,lead to slave delay.because the slave open MTS.
the slave processlist:
the command:
mysql version:5.7.21-21-log Percona Server (GPL), Release 21, Revision 2a37e4e
the log:
we hope drop table is serial or only drop once
Thank you!
The text was updated successfully, but these errors were encountered: