jbjohnso
79deb0acf5
Fix problem where 'delEntries' failed to invalidate cached data
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 14:51:52 +00:00
jbjohnso
42cb10b6aa
Fix problem where a Table object with alternate autocommit setting would not have cache expired by peer activity.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 14:45:41 +00:00
jbjohnso
dd87d634e5
Table.pm in a refresh scenario with cache not currently in use, but existing none the less, mark the cache as invalid by setting the timestamp to 1970
...
Still avoid *rebuilding* the cache, as in the use_cache not set suggests a mass amount of setAttribs and build_cache(1) would be extremely expensive,
just force the next consumer after the set to take the hit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 16:32:12 +00:00
jbjohnso
31af2c1abe
Fix problem where nodels could return more data than requested
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-24 17:14:52 +00:00
jbjohnso
704ef6932c
Have build_cache never consider an older than 5 second cache valid
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 16:42:44 +00:00
jbjohnso
12910722b5
Correct mistaken variable prefix in optimization work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-12 12:02:49 +00:00
jbjohnso
df89dee4c6
When doing getAllNodeAttribs, institute a noderange result cache to avoid many noderange() calls
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 19:33:00 +00:00
jbjohnso
c122edd400
More aggressively retain cache
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 18:43:15 +00:00
jbjohnso
305559f05b
Change option to 'prefetchcache'
...
Ensure reference counter doesn't go crazy on prefetch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:09:19 +00:00
jbjohnso
98ab033cd4
Have Table.pm force flush of more than 5 seconds old, in preparation for more aggresive cache retention
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:56:42 +00:00
jbjohnso
47b13acc30
Add 'eagercache' to getNodeAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:56:00 +00:00
jbjohnso
775bcb5b9a
Try to do more reuse of nodelist objects in db worker
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 20:00:36 +00:00
jbjohnso
a75db50804
Fix typo in previous fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 18:25:30 +00:00
jbjohnso
2192a7602d
Have Table.pm properly bail out in the event of a bug
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 19:17:43 +00:00
jbjohnso
8957491f43
Table.pm would die unceremoniously when faced with undefined argument, tolerate it
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:32:59 +00:00
zhaoertao
a2d14e557e
delete the using and implementation of getNodeSpecAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 11:24:58 +00:00
jbjohnso
2f1b7d8fb6
Fix problem where Table.pm fails to skip cache for low nodecounts
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:15:14 +00:00
zhaoertao
1f6d451c67
fix bug about Table::getNodeSpecAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 07:55:45 +00:00
zhaoertao
d6d8739cdf
For NGP
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 10:25:08 +00:00
zhaoertao
504d6f443e
provide a routine which can retrieve requested attributes that matching the specified options for a node
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-30 07:44:19 +00:00
jbjohnso
4fdc6b5850
Enhance DB recovery to survive a failed recovery attempt
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-15 15:51:21 +00:00
ligc
231c38c9d3
minor perl syntax fix in Table.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-09 05:31:10 +00:00
ligc
cd98a43e1a
fix for bug 3396712: table.pm perl syntax warning
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-23 06:32:32 +00:00
jbjohnso
709ec87249
Correct regex mistake in previous checkin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 18:11:48 +00:00
jbjohnso
7f125d8e2e
Provide small performance boost to every exchange with DB worker process
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 17:00:59 +00:00
jbjohnso
ea0fe3acd6
Fix Table.pm to absolutely refuse to use cache when unusable
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-06 18:47:13 +00:00
jbjohnso
21490e591b
Avoid calling clear_cache two times on nodelist table objects when build_cache is only called once
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-06 16:58:59 +00:00
jbjohnso
ca420493fc
Fix problem where Table cache data could get mismanaged and fail to add missing columns
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-06 14:53:37 +00:00
jbjohnso
2ebe904d00
Fix mistake in nodelist getNodesAttribs acceleration
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-04 11:28:44 +00:00
lissav
219a0f4ad2
add support for compress option table create for DB2
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-24 16:53:39 +00:00
lissav
494e5f38f3
add support for filename on tabdump
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-11 17:50:08 +00:00
lissav
6163d15628
support assignment of tablespace on Table create for DB2 and put the auditlog and eventlog in the 32K tablespace
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 11:42:23 +00:00
lissav
8ddf863e48
Comment out use/require Data:Dumper
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:49:13 +00:00
lissav
9772091520
add support for like and not like
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-23 17:02:04 +00:00
lissav
ffb0268f5c
Start of change to getAllAttribsWhere to support input array, testing still to be done
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-22 18:45:45 +00:00
lissav
ddd1a62584
Not setting Not Null for required attributes in DB2
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-16 20:20:46 +00:00
lissav
f825a36124
change get_filelist to be able to handle underscore in file name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-10 14:20:05 +00:00
lissav
16b8111ea2
fix for defect 3168861
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-06 11:35:12 +00:00
jbjohnso
0552dd32b3
Try to resolve the noderange bug, haven't produced it myself, so this is just a guess
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-02 20:51:58 +00:00
lissav
4064656eb5
remove unneeded call to get_xcatcfg
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-13 15:36:49 +00:00
lissav
4a5060cd39
more improvements
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-12 18:54:19 +00:00
lissav
b91b558914
remove more database checkes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-12 18:42:03 +00:00
lissav
1e45e60ca1
fix more disable checks
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-12 16:23:39 +00:00
lissav
a00247706b
start to merge the disable attribute checkin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 19:31:27 +00:00
lissav
9d31ce3f41
update getAttribs with delimitcol
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 18:56:49 +00:00
lissav
238834c1a3
update delEntries routine with delimitcols
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 18:38:06 +00:00
lissav
4f575e78a9
convert setNodesAttribs to use delimitcol
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 16:55:06 +00:00
lissav
8b92d602bb
update setAttribsWhere with delimitcol
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 15:59:48 +00:00
lissav
96d3ccfa26
fixed setAttribs routine to use new delimitcol routine
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 15:01:40 +00:00
lissav
7c1df1f1a3
interface with delimitcol routine for updateschema
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 13:56:33 +00:00