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

Reply via email to