Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CEC5B200C2F for ; Mon, 20 Feb 2017 00:10:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CD60A160B72; Sun, 19 Feb 2017 23:10:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 22D59160B65 for ; Mon, 20 Feb 2017 00:10:11 +0100 (CET) Received: (qmail 26410 invoked by uid 500); 19 Feb 2017 23:10:11 -0000 Mailing-List: contact commits-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list commits@hawq.incubator.apache.org Received: (qmail 26401 invoked by uid 99); 19 Feb 2017 23:10:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2017 23:10:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 94AB618028D for ; Sun, 19 Feb 2017 23:10:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QPzPx_UAvHZA for ; Sun, 19 Feb 2017 23:10:09 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 2109C5FCE9 for ; Sun, 19 Feb 2017 23:10:07 +0000 (UTC) Received: (qmail 23456 invoked by uid 99); 19 Feb 2017 23:07:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2017 23:07:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0DE8EE04DD; Sun, 19 Feb 2017 23:07:37 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: espino@apache.org To: commits@hawq.incubator.apache.org Date: Sun, 19 Feb 2017 23:07:46 -0000 Message-Id: In-Reply-To: <2bc18e331bd9497ca39c6809c91e61ae@git.apache.org> References: <2bc18e331bd9497ca39c6809c91e61ae@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [11/35] incubator-hawq git commit: HAWQ-1324. Fixed crash at query cancel, signal hanler cannot call unsafe elog() archived-at: Sun, 19 Feb 2017 23:10:13 -0000 HAWQ-1324. Fixed crash at query cancel, signal hanler cannot call unsafe elog() Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/305e2bc7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/305e2bc7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/305e2bc7 Branch: refs/heads/2.1.0.0-incubating Commit: 305e2bc78c86e5b0f38fdce349e78e908b3afb65 Parents: 256c066 Author: Ming LI Authored: Mon Feb 13 15:16:53 2017 +0800 Committer: Ming LI Committed: Tue Feb 14 11:15:04 2017 +0800 ---------------------------------------------------------------------- src/backend/tcop/postgres.c | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/305e2bc7/src/backend/tcop/postgres.c ---------------------------------------------------------------------- diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 7cbe206..2450136 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -3608,8 +3608,6 @@ ProcessInterrupts(void) if (QueryCancelPending) { - elog(LOG,"Process interrupt for 'query cancel pending'."); - QueryCancelPending = false; ImmediateInterruptOK = false; /* not idle anymore */ DisableNotifyInterrupt();