You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2023/03/10 15:13:00 UTC
[jira] [Created] (IMPALA-11995) Catalog update thread should have highest priority when waiting for table locks
Quanlong Huang created IMPALA-11995:
---------------------------------------
Summary: Catalog update thread should have highest priority when waiting for table locks
Key: IMPALA-11995
URL: https://issues.apache.org/jira/browse/IMPALA-11995
Project: IMPALA
Issue Type: Bug
Components: Catalog
Reporter: Quanlong Huang
Assignee: Quanlong Huang
We currently use a *fair* ReentrantReadWriteLock as the table lock. Under contention, locks favor granting access to the longest-waiting thread. This could let the catalog update thread waiting until all the operations submitted before finish. The delay of catalog updates will further block queries in CREATED state.
We should consider assigning the highest priority to the catalog update thread when waiting for table locks.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org