You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by ml...@apache.org on 2016/08/04 03:37:06 UTC
incubator-hawq git commit: HAWQ-978. Fixed deadlock in signal handler
which call asynchronous unsafe functions elog()
Repository: incubator-hawq
Updated Branches:
refs/heads/master f1f8a46da -> b7e2ba95a
HAWQ-978. Fixed deadlock in signal handler which call asynchronous unsafe functions 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/b7e2ba95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/b7e2ba95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/b7e2ba95
Branch: refs/heads/master
Commit: b7e2ba95a538f3503b8aa61319f0b31adb0dc8da
Parents: f1f8a46
Author: Ming LI <ml...@pivotal.io>
Authored: Wed Aug 3 16:52:38 2016 +0800
Committer: Ming LI <ml...@pivotal.io>
Committed: Thu Aug 4 11:35:48 2016 +0800
----------------------------------------------------------------------
src/backend/storage/lmgr/proc.c | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b7e2ba95/src/backend/storage/lmgr/proc.c
----------------------------------------------------------------------
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index 23dfe22..2d3097f 100644
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -1432,8 +1432,6 @@ CheckStatementTimeout(void)
/* Time to die */
statement_timeout_active = false;
cancel_from_timeout = true;
- elog(LOG,"Issuing cancel signal (SIGINT) to my self (pid = %d) for statement timeout.",
- MyProcPid);
#ifdef HAVE_SETSID
/* try to signal whole process group */
kill(-MyProcPid, SIGINT);