Vuk Ercegovac has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9089 )

Change subject: IMPALA-6215: Removes race when using LibCache.
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/9089/5/be/src/runtime/lib-cache.h
File be/src/runtime/lib-cache.h:

http://gerrit.cloudera.org:8080/#/c/9089/5/be/src/runtime/lib-cache.h@78
PS5, Line 78:   /// '*entry' is expected to be null. The caller must call 
DecrementUseCount(*entry)
            :   /// when it is done using 'path'.
> Vuk filed IMPALA-6439 to do that cleanup.
after discussing a bit, how about this: I'll add a handle, but keep the cache 
entry members opaque for now. that will get rid of the explicit scope-exit 
pattern. I'll clarify IMPALA-6439 to be specific about upgrading the function 
ptr api and exposing the members of the cache entry properly.



--
To view, visit http://gerrit.cloudera.org:8080/9089
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9175085201fe8b11424ab8f88d7b992cb7b0daea
Gerrit-Change-Number: 9089
Gerrit-PatchSet: 5
Gerrit-Owner: Vuk Ercegovac <[email protected]>
Gerrit-Reviewer: Bikramjeet Vig <[email protected]>
Gerrit-Reviewer: Dan Hecht <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Vuk Ercegovac <[email protected]>
Gerrit-Comment-Date: Mon, 29 Jan 2018 22:05:52 +0000
Gerrit-HasComments: Yes

Reply via email to