Commit 6e862cf9 authored by Shashi Guruprasad's avatar Shashi Guruprasad

Bumping up the size of nsfiles from 65535 (2^16 - 1) to 16777216 (2^24 - 1).

While a 64K ns file seems more than adequate, it is not enough when large
topologies are generated via topology generators where Tcl loops are not
used.
parent 7a5af794
......@@ -503,7 +503,7 @@ sub TBDB_WIDEAREA_LOCALNODE { "boss"; }
#
# We should list all of the DB limits.
#
sub DBLIMIT_NSFILESIZE() { (2**16 - 1); }
sub DBLIMIT_NSFILESIZE() { (2**24 - 1); }
#
# Virtual nodes must operate within a restricted port range. The range
......
......@@ -473,7 +473,7 @@ REPLACE INTO table_regex VALUES ('nodes','node_id','text','regex','^[-\\w]+$',1,
REPLACE INTO table_regex VALUES ('nseconfigs','pid','text','redirect','projects:pid',0,0,NULL);
REPLACE INTO table_regex VALUES ('nseconfigs','eid','text','redirect','experiments:eid',0,0,NULL);
REPLACE INTO table_regex VALUES ('nseconfigs','vname','text','redirect','virt_nodes:vname',0,0,NULL);
REPLACE INTO table_regex VALUES ('nseconfigs','nseconfig','text','regex','^[\\040-\\176\\012\\015]*$',0,65535,NULL);
REPLACE INTO table_regex VALUES ('nseconfigs','nseconfig','text','regex','^[\\040-\\176\\012\\015]*$',0,16777215,NULL);
REPLACE INTO table_regex VALUES ('os_info','osname','text','regex','^[-\\w\\.]+$',2,20,NULL);
REPLACE INTO table_regex VALUES ('projects','pid','text','regex','^[a-zA-Z][-\\w]+$',2,12,NULL);
REPLACE INTO table_regex VALUES ('reserved','vname','text','redirect','virt_nodes:vname',1,32,NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment