Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/8914 )
Change subject: IMPALA-6193: Track memory of incoming data streams ...................................................................... Patch Set 17: (2 comments) Looks good, just had a couple of clarifications about the ownership of pointers passed into the new functions. http://gerrit.cloudera.org:8080/#/c/8914/17/be/src/rpc/impala-service-pool.cc File be/src/rpc/impala-service-pool.cc: http://gerrit.cloudera.org:8080/#/c/8914/17/be/src/rpc/impala-service-pool.cc@200 PS17, Line 200: RespondFailure Should this be FailAndReleaseRpc() now? Or should the .release() logic be moved into FailAndReleaseRpc()? http://gerrit.cloudera.org:8080/#/c/8914/17/be/src/runtime/krpc-data-stream-mgr.h File be/src/runtime/krpc-data-stream-mgr.h: http://gerrit.cloudera.org:8080/#/c/8914/17/be/src/runtime/krpc-data-stream-mgr.h@479 PS17, Line 479: // memory from 'mem_tracker'. Document that this function takes over ownership of 'ctx' - at least I think it does. -- To view, visit http://gerrit.cloudera.org:8080/8914 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2df1204d2483313a8a18e5e3be6cec9e402614c4 Gerrit-Change-Number: 8914 Gerrit-PatchSet: 17 Gerrit-Owner: Lars Volker <[email protected]> Gerrit-Reviewer: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker <[email protected]> Gerrit-Reviewer: Michael Ho <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Comment-Date: Tue, 30 Jan 2018 23:56:48 +0000 Gerrit-HasComments: Yes
