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 "Vihang Karajgaonkar (JIRA)" <ji...@apache.org> on 2019/07/01 17:49:00 UTC

[jira] [Updated] (IMPALA-7933) Consider using read-write locks for partial fetch requests.

     [ https://issues.apache.org/jira/browse/IMPALA-7933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vihang Karajgaonkar updated IMPALA-7933:
----------------------------------------
    Labels: catalog-v2  (was: )

> Consider using read-write locks for partial fetch requests.
> -----------------------------------------------------------
>
>                 Key: IMPALA-7933
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7933
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Catalog
>    Affects Versions: Impala 3.1.0
>            Reporter: bharath v
>            Priority: Major
>              Labels: catalog-v2
>
> Partial table fetches currently use an exclusive lock. Switch to a read-write lock instead?
> {code}
>      // TODO(todd): consider a read-write lock here.
>       table.getLock().lock();
>       try {
>         return table.getPartialInfo(req);
>       } finally {
>         table.getLock().unlock();
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org