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

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 3.1.0
    • Impala 4.0.0
    • Catalog
    • 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

            Unassigned Unassigned
            bharathv Bharath Vissapragada
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: