You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by li...@apache.org on 2018/09/05 10:20:46 UTC

[2/5] trafodion git commit: reduce the retry number to 100, sorry I was in a debug mode before commit

reduce the retry number to 100, sorry I was in a debug mode before commit


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

Branch: refs/heads/master
Commit: 874029766d36b0fe743d153bd6c1ba3f2a3d4234
Parents: 8958ce6
Author: Liu Ming <ov...@sina.com>
Authored: Sat Aug 25 15:27:39 2018 +0000
Committer: Liu Ming <ov...@sina.com>
Committed: Sat Aug 25 15:27:39 2018 +0000

----------------------------------------------------------------------
 core/sql/exp/ExpSeqGen.cpp      | 2 +-
 core/sql/sqlcomp/nadefaults.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/87402976/core/sql/exp/ExpSeqGen.cpp
----------------------------------------------------------------------
diff --git a/core/sql/exp/ExpSeqGen.cpp b/core/sql/exp/ExpSeqGen.cpp
index edb3a3b..203f071 100644
--- a/core/sql/exp/ExpSeqGen.cpp
+++ b/core/sql/exp/ExpSeqGen.cpp
@@ -50,7 +50,7 @@ SeqGenEntry::SeqGenEntry(Int64 sgUID, CollHeap * heap)
 {
   fetchNewRange_ = TRUE;
   cliInterfaceArr_ = NULL;
-  retryNum_ = 250; //default retry times
+  retryNum_ = 100; //default retry times
 }
 
 short SeqGenEntry::fetchNewRange(SequenceGeneratorAttributes &inSGA)

http://git-wip-us.apache.org/repos/asf/trafodion/blob/87402976/core/sql/sqlcomp/nadefaults.cpp
----------------------------------------------------------------------
diff --git a/core/sql/sqlcomp/nadefaults.cpp b/core/sql/sqlcomp/nadefaults.cpp
index 29b9c23..3cc6f9a 100644
--- a/core/sql/sqlcomp/nadefaults.cpp
+++ b/core/sql/sqlcomp/nadefaults.cpp
@@ -2954,7 +2954,7 @@ XDDkwd__(SUBQUERY_UNNESTING,			"ON"),
   DD_____(TRAF_SAMPLE_TABLE_LOCATION,                  "/user/trafodion/sample/"),
   DDint__(TRAF_SEQUENCE_CACHE_SIZE,        "-1"),
 
-  DDint__(TRAF_SEQUENCE_RETRY_TIMES,        "250"),
+  DDint__(TRAF_SEQUENCE_RETRY_TIMES,        "100"),
 
   DDkwd__(TRAF_SIMILARITY_CHECK,			"ROOT"),