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-unsubscr...@doris.apache.org

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



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

Reply via email to