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

   drop tablet's code:
   
   ```
       lock_guard(tablet_manager.shard.lock);
   
       delete tablet from tablet map
   
        {
               lock_guard(tablet.meta_lock)
               ...
        }
   
        ...
   ```
   
   Sometimes,  tablet meta lock may held by other threads for a long time,    
it will cause shard.lock also wait for a long time.
   
   For creating tablet thread, it also need to acquire the shard.lock,  so 
creating tablet thread will also wait for a long time, then creating partition 
will be timeout.
   
   Fix:   shard.lock   don't wait the time of the tablet meta lock.


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