You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by se...@apache.org on 2017/08/18 17:53:13 UTC
[1/2] incubator-trafodion git commit: [TRAFODION-2716] Query
compilation gets stuck at listSnapshots() at times
Repository: incubator-trafodion
Updated Branches:
refs/heads/master 7f09f6605 -> c92e761ee
[TRAFODION-2716] Query compilation gets stuck at listSnapshots() at times
To reduce the impact on the compilation when there are many snapshots,
call Admin.listSnapshots only when cqd TRAF_TABLE_SNAPSHOT_SCAN is set to
LATEST or SUFFIX.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/eb4b4aaa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/eb4b4aaa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/eb4b4aaa
Branch: refs/heads/master
Commit: eb4b4aaa584291fb8ff8588c423b8854897c9c2a
Parents: 9cac537
Author: selvaganesang <se...@esgyn.com>
Authored: Tue Aug 15 23:45:39 2017 +0000
Committer: selvaganesang <se...@esgyn.com>
Committed: Tue Aug 15 23:45:39 2017 +0000
----------------------------------------------------------------------
core/sql/sqlcomp/CmpSeabaseDDLtable.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/eb4b4aaa/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
----------------------------------------------------------------------
diff --git a/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp b/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
index 3cdd063..7b6e9eb 100644
--- a/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
+++ b/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
@@ -12681,7 +12681,9 @@ TrafDesc * CmpSeabaseDDL::getSeabaseTableDesc(const NAString &catName,
}
else
{
- Int32 ctlFlags = GET_SNAPSHOTS; // get snapshot
+ Int32 ctlFlags = 0;
+ if (CmpCommon::getDefault(TRAF_TABLE_SNAPSHOT_SCAN) != DF_NONE)
+ ctlFlags = GET_SNAPSHOTS; // get snapshot
if ((CmpCommon::getDefault(TRAF_READ_OBJECT_DESC) == DF_ON) &&
(!Get_SqlParser_Flags(INTERNAL_QUERY_FROM_EXEUTIL)) &&
(NOT includeInvalidDefs))
[2/2] incubator-trafodion git commit: Merge PR 1208 [TRAFODION-2716]
Query compilation gets stuck at listSnapshots() at times
Posted by se...@apache.org.
Merge PR 1208 [TRAFODION-2716] Query compilation gets stuck at listSnapshots() at times
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/c92e761e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/c92e761e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/c92e761e
Branch: refs/heads/master
Commit: c92e761ee41edc271cf66231614645a1fc8475f2
Parents: 7f09f66 eb4b4aa
Author: selvaganesang <se...@apache.org>
Authored: Fri Aug 18 17:52:04 2017 +0000
Committer: selvaganesang <se...@apache.org>
Committed: Fri Aug 18 17:52:04 2017 +0000
----------------------------------------------------------------------
core/sql/sqlcomp/CmpSeabaseDDLtable.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------