Changeset 42258 for branches/eam_branches/ipp-20220316
- Timestamp:
- Aug 1, 2022, 8:53:47 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20220316/ippTools/src/pzgetexp.c
r31038 r42258 136 136 psFree(cmdOutput); 137 137 if (!newSummitExps) { 138 // XXX not ne ssicarily an error138 // XXX not necessarily an error? 139 139 psError(PS_ERR_UNKNOWN, true, "no new fileSet/exp IDs"); 140 140 return false; … … 145 145 return true; 146 146 } 147 // If we supply an unknown last_fileset (exposure name) to the summit datastore, 148 // it will return all filesets it knows about. This can cause problems (table overflow) 149 // if this is too large a number. Raise an error and let the user fix the underlying 150 // problem (last exposure not known to the summit datastore) 151 // Do we need to be able to configure this number? 152 if (psArrayLength(newSummitExps) > 10000) { 153 psError(PS_ERR_UNKNOWN, true, "too many new fileSet/exp IDs? unknown exposure? problem with summitExp table?"); 154 return false; 155 } 147 156 148 157 // start a transaction so it's all rows or nothing … … 153 162 } 154 163 155 // increase memory table size limits; deafult is 16MB 156 { 164 // increase memory table size limits; default is 16MB, but our current (2022) config 165 // in /etc/mysql/my.cnf sets to default to 1024M. 166 // This command sets the max_heap_table_size within the transaction, and does not 167 // apparently stick. But this is not really needed, so we are deactivating it. 168 if (0) { 157 169 // 512MB 158 170 char *query = "SET max_heap_table_size = 1024*1024*512";
Note:
See TracChangeset
for help on using the changeset viewer.
