You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Vuk Ercegovac (JIRA)" <ji...@apache.org> on 2018/01/24 19:57:00 UTC

[jira] [Created] (IMPALA-6439) Improve LibCache API

Vuk Ercegovac created IMPALA-6439:
-------------------------------------

             Summary: Improve LibCache API
                 Key: IMPALA-6439
                 URL: https://issues.apache.org/jira/browse/IMPALA-6439
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 2.11.0
            Reporter: Vuk Ercegovac


LibCache, defined in be/src/runtime/lib_cache.h, has a clunky API that is error-prone.

Currently, the caller obtains a pointer to a reference counted cache entry from which

data is extracted (paths, function ptrs). The caller must explicitly state when they are no

longer using the cache entry. A better API would hide this in a handle that manages the ref-counting internally.



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