Commit Graph

1484 Commits

Author SHA1 Message Date
Howard Chu
6e27fa5076 ITS#6074 freeing already-freed EntryInfos... 2009-05-01 04:36:39 +00:00
Howard Chu
c7142fdec5 Don't underflow malloc'd memory in hdb_fix_dn() 2009-05-01 04:26:44 +00:00
Howard Chu
cfb12f536b ITS#6056 pagedresults stacked control is not overlay-friendly, add
slap_add_ctrls() function
2009-04-15 10:34:24 +00:00
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
df64b0573c More for prev commit - fill in other opattrs when creating stub 2009-03-07 02:46:10 +00:00
Howard Chu
b88e792a7f Revert ITS#3616 patch, obsoleted by ITS#4916 / ITS#6006 2009-03-07 02:28:01 +00:00
Howard Chu
89cfbe3b6e ITS#6006 dummy entry needs objectclass attr. (Previous fix to ITS#4961
was incomplete. This patch obsoletes the patch for ITS#3616.)
2009-03-07 02:23:20 +00:00
Howard Chu
e3e7a22b5d Must use txns everywhere, otherwise it will deadlock 2009-03-05 21:59:05 +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
225aa9f526 More for prev 2009-03-02 07:57:18 +00:00
Howard Chu
03aa595908 ITS#5457 cleanup. If we ever go back to refcounting the entry cache,
this will matter.
2009-03-02 07:54:01 +00:00
Howard Chu
0693557161 ITS#5961 fix prev commit 2009-02-19 22:12:23 +00:00
Howard Chu
168fa346cc Cleanup prev commit 2009-02-18 00:17:59 +00:00
Howard Chu
6f4b2cc66e ITS#5956 only retry attaching to SHM once 2009-02-18 00:14:16 +00:00
Pierangelo Masarati
7cd382d931 build entry's pretty DN from parent's (ITS#5326) 2009-02-05 18:44:52 +00:00
Pierangelo Masarati
260fd357df fix structuralObjectClass modification (glue, ITS#5921; w/ relax, ITS#5792) 2009-02-04 22:36:49 +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
64d0cb9cf6 ITS#5859 fix IDL cache for hdb DB with empty suffix 2009-01-26 10:20:51 +00:00
Howard Chu
a59bdb2d5d ITS#5860 more for prev commit 2009-01-25 22:43:31 +00:00
Howard Chu
fe70cdf2ea ITS#5864 - require BDB >= 4.6 for trickle task 2009-01-24 03:43:08 +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
Pierangelo Masarati
e0ad0fbd8d honor RFC4528 assertion control for LDAP add operations (ITS#5861) 2008-12-20 22:49:53 +00:00
Ralf Haferkamp
760660a4a2 Remove unneeded locking. Don't wait for memp_trickle to complete,
loosing an signal doesn't hurt in this case.
2008-11-28 16:09:40 +00:00
Howard Chu
f6ae9c9c9f Fix typo in prev commit 2008-11-22 22:41:11 +00:00
Howard Chu
1d746e552a Initialize bli_flag 2008-11-22 21:08:38 +00:00
Pierangelo Masarati
15236be495 fix previous commit 2008-11-22 18:35:19 +00:00
Pierangelo Masarati
ce045e153f make messages more esplicative; fix style 2008-11-22 17:53:14 +00:00
Pierangelo Masarati
1dd88a8b11 exactly one ID can match (ITS#5791; further fix previous commit) 2008-11-08 10:39:45 +00:00
Pierangelo Masarati
c41df6ed07 lookup entry id when equality on entryDN (ITS#5791; fixes previous commit) 2008-11-04 12:16:23 +00:00
Pierangelo Masarati
45aaaddb16 lookup entry id when equality on entryDN (proposed fix for ITS#5791; does not work for back-hdb, though) 2008-11-04 12:07:47 +00:00
Pierangelo Masarati
d4970fcb6f don't allow indexing of entryDN (ITS#5790) 2008-11-04 11:54:19 +00:00
Howard Chu
9d5de25b5b ITS#5745 long-lived TXNs must be closed before DBs 2008-11-03 13:00:00 +00:00
Howard Chu
f463be3b95 Add DBFLAG_CLEAN for a DB that was cleanly shut down; don't bother
scanning to verify contextCSN for clean shutdowns (ITS#5640)
2008-11-02 23:06:10 +00:00
Hallvard Furuseth
6fbd42a90a Warning cleanup: Signed meets unsigned:
Change insertion index bdb_attr_slot(,, unsigned *ins) to int *ins.  This
index is signed elsewhere, including the index returned by the same function.
2008-10-17 23:35:44 +00:00
Pierangelo Masarati
bbe6e77876 fix indentation 2008-10-17 00:03:53 +00:00
Howard Chu
72a9d87fec BDB_PAGESIZE not used any more, use BDB/FS default instead 2008-10-15 10:45:31 +00:00
Howard Chu
3be39979ea Add checksum keyword to enable DB checksum validation 2008-10-15 08:13:56 +00:00
Howard Chu
81ed60c056 Add dbpagesize keyword for configuring DB file page sizes 2008-10-15 07:41:57 +00:00
Hallvard Furuseth
6f39252bd0 Warning cleanup: signed meets unsigned. 2008-10-13 08:35:31 +00:00
Hallvard Furuseth
27d6497c33 Warning cleanup: Missing braces in initialization. 2008-10-13 05:44:55 +00:00