[ https://issues.apache.org/jira/browse/HIVE-26155?focusedWorklogId=761704&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-761704 ]
ASF GitHub Bot logged work on HIVE-26155: ----------------------------------------- Author: ASF GitHub Bot Created on: 25/Apr/22 11:00 Start Date: 25/Apr/22 11:00 Worklog Time Spent: 10m Work Description: pvary commented on PR #3223: URL: https://github.com/apache/hive/pull/3223#issuecomment-1108419421 Wait! This could cause dead locks Issue Time Tracking ------------------- Worklog Id: (was: 761704) Time Spent: 50m (was: 40m) > Create a new connection pool for compaction > ------------------------------------------- > > Key: HIVE-26155 > URL: https://issues.apache.org/jira/browse/HIVE-26155 > Project: Hive > Issue Type: Improvement > Components: Standalone Metastore > Reporter: Antal Sinkovits > Assignee: Antal Sinkovits > Priority: Major > Labels: compaction, pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > Currently the TxnHandler uses 2 connection pools to communicate with the HMS: > the default one and one for mutexing. If compaction is configured incorrectly > (e.g. too many Initiators are running on the same db) then compaction can use > up all the connections in the default connection pool and all user queries > can get stuck. > We should have a separate connection pool (configurable size) just for > compaction-related activities. -- This message was sent by Atlassian Jira (v8.20.7#820007)