Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7127 Fetch-on-demand metadata for the impalad-side catalog
  3. IMPALA-7933

Consider using read-write locks for partial fetch requests.

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 3.1.0
    • Fix Version/s: Impala 4.0.0
    • Component/s: Catalog
    • Labels:
    • Epic Color:
      ghx-label-6

      Description

      Partial table fetches currently use an exclusive lock. Switch to a read-write lock instead?

           // TODO(todd): consider a read-write lock here.
            table.getLock().lock();
            try {
              return table.getPartialInfo(req);
            } finally {
              table.getLock().unlock();
            }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bharathv Bharath Vissapragada
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: