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 2020/04/10 14:01:20 UTC

[GitHub] [incubator-doris] liutang123 commented on issue #3294: Use read lock when iterate tablet_map in TabletManager::start_trash_sweep

liutang123 commented on issue #3294: Use read lock when iterate tablet_map in TabletManager::start_trash_sweep
URL: https://github.com/apache/incubator-doris/pull/3294#issuecomment-612041189
 
 
   > > By add logs, we found that `TabletManager::start_trash_sweep` will take write lock for a long time.
   > 
   > How long? And after this PR applied, how long will it be?
   
   We set `tablet_map_shard_size` to 16, this function will holds each map lock about more than 1 second.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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