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/07/28 07:06:13 UTC

[GitHub] [incubator-doris] liutang123 commented on pull request #6321: Fix 6320 Optimize lock when check error storage

liutang123 commented on pull request #6321:
URL: https://github.com/apache/incubator-doris/pull/6321#issuecomment-888067260


   If create tablet thread blocked by report thread, they are mutually exclusive.
   
   This PR may cause the following case:
   1. Report thread begin collect tablet info, now report version is v1.
   2. Create thread create tablet X, and change the report version to v2.
   3. Report thread ends collecting tablet info without X and report all tablet info to FE.
   4. FE receive tablet info without X and delete X from meta.
   
   I modified the behavior of tablet report. Before collecting tablet information, mark the report version. After the collection, compare the current report version with the version just marked, if the version has changed, then abandon this report.


-- 
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