Return-Path: X-Original-To: apmail-impala-dev-archive@minotaur.apache.org Delivered-To: apmail-impala-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B129418DDE for ; Fri, 26 Feb 2016 02:56:26 +0000 (UTC) Received: (qmail 65145 invoked by uid 500); 26 Feb 2016 02:56:26 -0000 Delivered-To: apmail-impala-dev-archive@impala.apache.org Received: (qmail 65104 invoked by uid 500); 26 Feb 2016 02:56:26 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 65093 invoked by uid 99); 26 Feb 2016 02:56:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 02:56:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 894CCC093B for ; Fri, 26 Feb 2016 02:56:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id L45iFCUhaTZD for ; Fri, 26 Feb 2016 02:56:24 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 971775F5A1 for ; Fri, 26 Feb 2016 02:56:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u1Q2uN5C010204; Fri, 26 Feb 2016 02:56:23 GMT Message-Id: <201602260256.u1Q2uN5C010204@ip-10-146-233-104.ec2.internal> Date: Fri, 26 Feb 2016 02:56:23 +0000 From: "Skye Wanderman-Milne (Code Review)" To: Michael Ho , impala-cr@cloudera.com, dev@impala.incubator.apache.org Reply-To: skye@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?[Impala-CR](cdh5-2.5.0=5F5.7.0)_IMPALA-3085:_Unregister_data_sinks'_MemTrackers_at_their_Close()_functions.=0A?= X-Gerrit-Change-Id: I3aec82150a933dc2b261beff41f5f4f022501bfb X-Gerrit-ChangeURL: X-Gerrit-Commit: 3163dc4126f345a5c6a65d3c0671ef16b85b0308 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.10-rc0 Skye Wanderman-Milne has posted comments on this change. Change subject: IMPALA-3085: Unregister data sinks' MemTrackers at their Close() functions. ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/2314/2/be/src/runtime/plan-fragment-executor.h File be/src/runtime/plan-fragment-executor.h: Line 189: /// the dtor of 'runtime_state_'. nit: this might be clearer if you explicitly reset() these scoped ptrs in Close() instead of relying on the declaration order. -- To view, visit http://gerrit.cloudera.org:8080/2314 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3aec82150a933dc2b261beff41f5f4f022501bfb Gerrit-PatchSet: 2 Gerrit-Project: Impala Gerrit-Branch: cdh5-2.5.0_5.7.0 Gerrit-Owner: Michael Ho Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Skye Wanderman-Milne Gerrit-HasComments: Yes