Increased cluster size limit to 1536 nodes.
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/4d05071b Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/4d05071b Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/4d05071b Branch: refs/heads/master Commit: 4d05071b4828d071a7319e32c3235415217c6507 Parents: 1b228a9 Author: Zalo Correa <[email protected]> Authored: Mon Jun 4 11:57:45 2018 -0700 Committer: Zalo Correa <[email protected]> Committed: Mon Jun 4 11:57:45 2018 -0700 ---------------------------------------------------------------------- core/sqf/export/include/trafconf/trafconfig.h | 2 +- core/sqf/sql/scripts/sqnodes.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/4d05071b/core/sqf/export/include/trafconf/trafconfig.h ---------------------------------------------------------------------- diff --git a/core/sqf/export/include/trafconf/trafconfig.h b/core/sqf/export/include/trafconf/trafconfig.h index 4661840..7888910 100644 --- a/core/sqf/export/include/trafconf/trafconfig.h +++ b/core/sqf/export/include/trafconf/trafconfig.h @@ -50,7 +50,7 @@ #define TC_PERSIST_KEY_MAX 64 #define TC_PERSIST_VALUE_MAX 4096 #define TC_PERSIST_KEYS_VALUE_MAX 4096 -#define TC_NODES_MAX 1024 // This can be higher when needed and +#define TC_NODES_MAX 1536 // This can be higher when needed and // will have performance implications // in the monitor process. // NOTE: Must increment by 64, see http://git-wip-us.apache.org/repos/asf/trafodion/blob/4d05071b/core/sqf/sql/scripts/sqnodes.pm ---------------------------------------------------------------------- diff --git a/core/sqf/sql/scripts/sqnodes.pm b/core/sqf/sql/scripts/sqnodes.pm index 0d09565..c0dc0fa 100644 --- a/core/sqf/sql/scripts/sqnodes.pm +++ b/core/sqf/sql/scripts/sqnodes.pm @@ -279,10 +279,10 @@ sub verifyParse displayStmt($stmtOk); print " Error: node-id not specified\n"; } - elsif ($nodeId > 1023) + elsif ($nodeId > 1535) { displayStmt($stmtOk); - print " Error: node-id must be in the range 0..1023.\n"; + print " Error: node-id must be in the range 0..1535.\n"; } if (@cores == 0) {
