liutang123 opened a new pull request #3294: Use read lock when iterate 
tablet_map in TabletManager::start_trash_sweep
URL: https://github.com/apache/incubator-doris/pull/3294
 
 
   In our cluster, there are many stream load jobs.
   We found that these jobs slow down periodically.
   By add logs, we found that `TabletManager::start_trash_sweep` will take 
write lock for a long time.
   In this PR, we split `start_trash_sweep` in two phases:
   First, iterate the tablet map with read lock.
   Second, remove the empty tablet in map with write 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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to