You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/09/14 07:49:57 UTC

[GitHub] [incubator-doris] caiconghui opened a new issue #6649: [Bug] The MetaObject lock design of fe would cause some problems with consistent meta when catalog do replay operation

caiconghui opened a new issue #6649:
URL: https://github.com/apache/incubator-doris/issues/6649


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   de66312a1a0cce9094b7c514ff90c84528d9b450
   
   ### 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 on 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?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman closed issue #6649: [Bug] The MetaObject lock design of fe would cause some problems with consistent meta when catalog do replay operation

Posted by GitBox <gi...@apache.org>.
morningman closed issue #6649:
URL: https://github.com/apache/incubator-doris/issues/6649


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org