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: [email protected]
For additional commands, e-mail: [email protected]