bharath v created IMPALA-7933:
---------------------------------

             Summary: 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


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-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to