yujun777 opened a new pull request, #26151:
URL: https://github.com/apache/doris/pull/26151

   ## Proposed changes
   
   when gc a deleted tablet,  it need 1 rocksdb read +  2 rocksdb write + 1 
directory move,  sometimes it will cost 20ms.
     
   This thread will acquire the shutdown write lock and gc 200 tablets each 
run,  which up to 4s. So the shutdown lock will block 4s.   Then happen:  drop 
tablet thread  wait for shutdown lock for 4s,   also the drop tablet thread 
hold the tablet manager shard lock for 4s => create tablet thread will wait for 
shard thread for 4s.  => FE create partition need wait for long time.  
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to