Howard Chu
|
1d16ee5622
|
One more tweak for #5860
|
2009-03-19 06:06:37 +00:00 |
|
Howard Chu
|
65c24bdb1f
|
More for #5860 - if the cache blew past the maxsize, bring it all the way
back down to size.
|
2009-03-18 18:18:40 +00:00 |
|
Howard Chu
|
0121f8c01d
|
More for ITS#5860
|
2009-03-18 11:21:53 +00:00 |
|
Howard Chu
|
7f2f9c4b30
|
Cleanup prev commit
|
2009-03-18 09:44:20 +00:00 |
|
Howard Chu
|
cc950c70d1
|
More for ITS#5860, always check cache sizes
|
2009-03-18 08:52:38 +00:00 |
|
Howard Chu
|
ba75a865d7
|
ITS#6012 don't abort NULL txns (blind fix)
|
2009-03-17 18:09:40 +00:00 |
|
Howard Chu
|
6d1aa51604
|
ITS#5860 - more for entry cache counts
|
2009-03-02 18:35:28 +00:00 |
|
Howard Chu
|
7198869342
|
More for prev - keep eifree at a reasonable number
|
2009-03-02 08:33:33 +00:00 |
|
Howard Chu
|
8ba8500ff1
|
ITS#5860 - free 10*minfree DN cache entries instead of just 1 per pass
|
2009-03-02 08:27:20 +00:00 |
|
Howard Chu
|
288e99cb08
|
ITS#5860 - NO_CACHE entries were not being counted when they were
converted to regular cached entries (so the entry cache grew beyond
the configured size)
|
2009-03-02 08:26:30 +00:00 |
|
Howard Chu
|
a96538f36c
|
ITS#5860 don't free entryinfo of entries that are validly in the cache
|
2009-01-26 20:59:10 +00:00 |
|
Howard Chu
|
09a369c4ea
|
More for ITS#5860
|
2009-01-26 20:36:17 +00:00 |
|
Howard Chu
|
a59bdb2d5d
|
ITS#5860 more for prev commit
|
2009-01-25 22:43:31 +00:00 |
|
Howard Chu
|
417d105c29
|
ITS#5860 more ID_NOCACHE fallout
|
2009-01-24 00:55:44 +00:00 |
|
Kurt Zeilenga
|
4af9eb9715
|
Update copyright notices
|
2009-01-22 00:40:04 +00:00 |
|
Hallvard Furuseth
|
6f39252bd0
|
Warning cleanup: signed meets unsigned.
|
2008-10-13 08:35:31 +00:00 |
|
Howard Chu
|
fda5733477
|
Wait for read locks in read txns
|
2008-09-25 13:17:17 +00:00 |
|
Howard Chu
|
e5b96f2c76
|
Avoid deadlocks on reader txns
|
2008-08-27 22:28:16 +00:00 |
|
Howard Chu
|
ece2a4daa6
|
Use read-only txn's instead of read lockers. Support BDB 4.4-4.7
|
2008-08-27 01:45:35 +00:00 |
|
Howard Chu
|
26172674b5
|
Cleanup extra debug in prev commit
|
2008-05-01 23:02:52 +00:00 |
|
Howard Chu
|
aeedb72e91
|
Fix prev commit
|
2008-05-01 13:25:15 +00:00 |
|
Howard Chu
|
9b516293b9
|
Fix prev cache.c commit
|
2008-04-29 21:44:47 +00:00 |
|
Howard Chu
|
a5037b4c5b
|
Fix comment typo
|
2008-04-28 11:20:34 +00:00 |
|
Howard Chu
|
a9d192df2b
|
Fix delete deadlock
|
2008-04-28 11:17:52 +00:00 |
|
Howard Chu
|
91c23cbc4d
|
ITS#5455 be sure to reset bei_finders / bei_state
|
2008-04-09 00:12:08 +00:00 |
|
Howard Chu
|
77e7b92c87
|
ITS#5439 fix ID_NOCACHE handling
|
2008-04-03 08:02:11 +00:00 |
|
Howard Chu
|
a3262ff239
|
ITS#5332 someone else may free the entry as soon as we unlock it
|
2008-02-08 06:32:41 +00:00 |
|
Hallvard Furuseth
|
cd63a0c43b
|
Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key()
|
2008-01-11 06:07:43 +00:00 |
|
Kurt Zeilenga
|
c890c96d13
|
Happy New Year (belated)
|
2008-01-08 00:19:56 +00:00 |
|
Pierangelo Masarati
|
30f401c628
|
rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309)
|
2008-01-07 21:35:03 +00:00 |
|
Howard Chu
|
7a3f73efd8
|
More cleanup
|
2007-12-06 06:40:13 +00:00 |
|
Howard Chu
|
ebbb6ab216
|
Cleanup prev commits
|
2007-12-06 06:20:42 +00:00 |
|
Howard Chu
|
cb0e31fc65
|
ITS#5262 must protect dn2id between the time it's read from the DB
and it's inserted into EntryInfo cache.
|
2007-12-06 05:48:02 +00:00 |
|
Howard Chu
|
c2a02618bb
|
BDB 4.2 compatibility for log_printf (requires modern C preprocessor)
|
2007-12-06 01:51:32 +00:00 |
|
Howard Chu
|
abff944303
|
Prefix log msgs with "slapd"
|
2007-12-05 22:35:39 +00:00 |
|
Howard Chu
|
cff654bd60
|
Use BDB transaction log for debug messages
|
2007-12-05 22:27:12 +00:00 |
|
Howard Chu
|
460e94c001
|
ITS#5262 additional cleanup
|
2007-12-05 14:56:47 +00:00 |
|
Howard Chu
|
6ac8a0c584
|
ITS#5262 use explicit cursor and locker in dn2id
|
2007-12-05 14:09:34 +00:00 |
|
Howard Chu
|
3640a6f7e5
|
Fix typo in prev commit
|
2007-11-22 08:52:39 +00:00 |
|
Howard Chu
|
b8fcecd69b
|
More for #5221, don't muck with kids counters on simple renames
|
2007-11-21 15:11:26 +00:00 |
|
Howard Chu
|
a0fbe9f043
|
Minor cleanup
|
2007-11-21 14:55:40 +00:00 |
|
Howard Chu
|
a6c4cf8578
|
ITS#5221 fix NO_KIDS/NO_GRANDKIDS flags on rename ops
|
2007-11-21 14:51:55 +00:00 |
|
Howard Chu
|
7aeb9bf621
|
Fix unlock in prev commit
|
2007-11-12 11:41:45 +00:00 |
|
Howard Chu
|
b4bcc325ee
|
Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
|
2007-11-12 11:16:30 +00:00 |
|
Howard Chu
|
8367f0cfe4
|
revert prev commit, no gain
|
2007-08-26 14:37:12 +00:00 |
|
Howard Chu
|
ddc5c9f735
|
Just use read locks on the entry_db_lock
|
2007-08-26 13:49:35 +00:00 |
|
Pierangelo Masarati
|
071b77cf9d
|
better fix
|
2007-08-25 15:01:27 +00:00 |
|
Pierangelo Masarati
|
84143631ee
|
fix potential concurrency issue (not so potential, if we could regularly trigger it :)
|
2007-08-25 14:58:43 +00:00 |
|
Howard Chu
|
4c7d288eb7
|
More for BDB 4.6 compatibility
|
2007-08-17 20:33:46 +00:00 |
|
Howard Chu
|
8b27523e4c
|
Add config keyword for DN cache size (aka EntryInfoSize)
default is 2x entry cache size
|
2007-08-11 19:29:14 +00:00 |
|