Search before asking
Version
de66312
What's Wrong?
As the issue #6386 described, with the performance considered, we introduced table lock in PR #3775, use table lock to replace db lock, but it also make the problem which lock design of fe brings occurs frequently.
With taking account of performance, we operate or get some info from meta object just get the write or read lock of current object, but we may get dropped object due to lack of parent's meta lock. in normal case, we must ensure that the meta object we get should not be dropped.
What You Expected?
In order to keep performance and make meta consistent between followers and observers, we must check meta object whether has been dropped when we get the writeLock.
How to Reproduce?
make frequent stream load to one table and then drop table at the same time.
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct