yujun777 opened a new pull request, #27478: URL: https://github.com/apache/doris/pull/27478
pick: #26151 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. ## Proposed changes Issue Number: close #xxx <!--Describe your changes.--> ## 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]
