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 2021/07/25 08:46:07 UTC

[GitHub] [incubator-doris] liutang123 opened a new issue #6320: Disk monitor hold StorageEngine's _store_lock too long

liutang123 opened a new issue #6320:
URL: https://github.com/apache/incubator-doris/issues/6320


   
   1. `StorageEngine::_delete_tablets_on_unused_root_path` will try to obtain tablet shard write lock in `TabletManager`
   ```
   StorageEngine::_delete_tablets_on_unused_root_path
     TabletManager::drop_tablets_on_error_root_path
       obtain each tablet shard's write lock
   ```
   2. `TabletManager::build_all_report_tablets_info` and other methods will obtain tablet shard read lock frequently.
   
   So, `StorageEngine::_delete_tablets_on_unused_root_path` will hold `_store_lock` for a long time.
   This will make it difficult for other threads to get write `_store_lock`, such as `StorageEngine::get_stores_for_create_tablet`
   
   `drop_tablets_on_error_root_path` is a small probability event, `TabletManager::drop_tablets_on_error_root_path` should return when its param `tablet_info_vec` is empty


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

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



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


[GitHub] [incubator-doris] morningman closed issue #6320: Disk monitor hold StorageEngine's _store_lock too long

Posted by GitBox <gi...@apache.org>.
morningman closed issue #6320:
URL: https://github.com/apache/incubator-doris/issues/6320


   


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

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



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