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 2017/02/16 06:10:02 UTC
incubator-hawq git commit: HAWQ-1338. Fixed writer process doesn't
exit nicely in some case
Repository: incubator-hawq
Updated Branches:
refs/heads/master 571c50b07 -> 946fe58ee
HAWQ-1338. Fixed writer process doesn't exit nicely in some case
Signed-off-by: Ivan Weng <iw...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/946fe58e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/946fe58e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/946fe58e
Branch: refs/heads/master
Commit: 946fe58ee83eb445849a76524be894e34f822114
Parents: 571c50b
Author: Ming LI <ml...@apache.org>
Authored: Thu Feb 16 12:34:21 2017 +0800
Committer: Ivan Weng <iw...@apache.org>
Committed: Thu Feb 16 12:47:11 2017 +0800
----------------------------------------------------------------------
src/backend/storage/ipc/ipc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/946fe58e/src/backend/storage/ipc/ipc.c
----------------------------------------------------------------------
diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c
index dd7aa85..bff9a2c 100644
--- a/src/backend/storage/ipc/ipc.c
+++ b/src/backend/storage/ipc/ipc.c
@@ -149,7 +149,7 @@ proc_exit_prepare(int code)
* desirable bail-out, and whenever you should see this situation, you
* should consider to resolve the actual programming error.
*/
- if (CritSectionCount > 0)
+ if (CritSectionCount > 0 && !SuppressPanic)
elog(PANIC, "process is dying from critical section");
/*