Csaba Ringhofer has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/10186 )

Change subject: IMPALA-6920: fix inconsistencies with scanner thread tokens
......................................................................


Patch Set 3:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/10186/3/be/src/runtime/thread-resource-mgr.h
File be/src/runtime/thread-resource-mgr.h:

http://gerrit.cloudera.org:8080/#/c/10186/3/be/src/runtime/thread-resource-mgr.h@99
PS3, Line 99:
nit: extra space - several copy pasted comments contain double spaces, so this 
may be intentional


http://gerrit.cloudera.org:8080/#/c/10186/3/be/src/runtime/thread-resource-mgr.h@189
PS3, Line 189: Set to NULL when unregistered.
Is there a reason behind this? Seems to be an object pool heritage, where 
Reset() used to reset all the members with the exception of parent_.


http://gerrit.cloudera.org:8080/#/c/10186/3/be/src/runtime/thread-resource-mgr.cc
File be/src/runtime/thread-resource-mgr.cc:

http://gerrit.cloudera.org:8080/#/c/10186/3/be/src/runtime/thread-resource-mgr.cc@55
PS3, Line 55:   DCHECK(pools_.find(pool.get()) == pools_.end());
Is this DCHECK still useful after removing object caching?


http://gerrit.cloudera.org:8080/#/c/10186/3/be/src/runtime/thread-resource-mgr.cc@133
PS3, Line 133: not
nit: double not



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I16d31d72441aff7293759281d0248e641df43704
Gerrit-Change-Number: 10186
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Comment-Date: Fri, 27 Apr 2018 17:17:33 +0000
Gerrit-HasComments: Yes

Reply via email to