trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbirds...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-2217] Error 8026 is shown at times when the query is cancelled.
Date Tue, 15 Aug 2017 16:25:11 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 49f9681f0 -> 9cac537d3


[TRAFODION-2217] Error 8026 is shown at times when the query is cancelled.

control query cancel for qid fails with error *** ERROR[8026] Server
declined cancel request. The query ID of the targeted query was not found.

The query exists and it is in OPEN state and it should have been
cancelled. Cancel query was sending the message to the incorrect ssmp server.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/3b7a12d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/3b7a12d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/3b7a12d6

Branch: refs/heads/master
Commit: 3b7a12d66c0754efd29a4fa67d3f1d9d7c1189e5
Parents: 93bb3df
Author: selvaganesang <selva.govindarajan@esgyn.com>
Authored: Sat Aug 12 06:39:58 2017 +0000
Committer: selvaganesang <selva.govindarajan@esgyn.com>
Committed: Mon Aug 14 04:57:52 2017 +0000

----------------------------------------------------------------------
 core/sql/executor/ExCancel.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/3b7a12d6/core/sql/executor/ExCancel.cpp
----------------------------------------------------------------------
diff --git a/core/sql/executor/ExCancel.cpp b/core/sql/executor/ExCancel.cpp
index 1c5d80b..12bafbb 100755
--- a/core/sql/executor/ExCancel.cpp
+++ b/core/sql/executor/ExCancel.cpp
@@ -257,8 +257,8 @@ ExWorkProcRetcode ExCancelTcb::work()
                 castToExMasterStmtGlobals()->getStatement()->getContext();
           ExSsmpManager *ssmpManager = context->getSsmpManager(); 
           cbServer_ = ssmpManager->getSsmpServer(
-                                 cliGlobals->myNodeName(), 
-                                 cliGlobals->myCpu(), tempDiagsArea);
+                                 nodeName_,
+                                 cpu_, tempDiagsArea);
           if (cbServer_ == NULL) {
              reportError(tempDiagsArea, true, EXE_CANCEL_PROCESS_NOT_FOUND, 
                           nodeName_, cpu_);


Mime
View raw message