hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject incubator-hawq git commit: HAWQ-26. Check cancel signal when Dispatcher waiting for job finish
Date Thu, 08 Oct 2015 09:47:27 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 9dcc8d0b3 -> 96779dd2e


HAWQ-26. Check cancel signal when Dispatcher waiting for job finish


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/96779dd2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/96779dd2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/96779dd2

Branch: refs/heads/master
Commit: 96779dd2ecd6a215da8789079116915caa99d408
Parents: 9dcc8d0
Author: Lirong Jian <jianlirong@gmail.com>
Authored: Thu Oct 8 17:27:29 2015 +0800
Committer: Lirong Jian <jianlirong@gmail.com>
Committed: Thu Oct 8 17:27:29 2015 +0800

----------------------------------------------------------------------
 src/backend/cdb/workermgr.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/96779dd2/src/backend/cdb/workermgr.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/workermgr.c b/src/backend/cdb/workermgr.c
index 6013b57..b21ba0a 100644
--- a/src/backend/cdb/workermgr.c
+++ b/src/backend/cdb/workermgr.c
@@ -134,6 +134,7 @@ workermgr_wait_job(WorkerMgrState *state)
 {
 	state->cancel = false;
 	workermgr_join(state);
+	CHECK_FOR_INTERRUPTS();
 }
 
 static void


Mime
View raw message