Commit Graph

1360 Commits

Author SHA1 Message Date
Howard Chu
f08b26adbc ITS#5183 - better delete index handling 2007-11-20 12:06:28 +00:00
Howard Chu
e6568f61b5 ITS#5232 report and fail on internal errors 2007-11-18 21:49:04 +00:00
Howard Chu
d84f8d9b71 Fix prev commit 2007-11-18 21:48:26 +00:00
Howard Chu
02f29d51c6 ITS#5183 preliminary fix - this whole approach needs re-design 2007-11-18 20:50:20 +00:00
Howard Chu
74f54320cd Fix pagedresults resume 2007-11-12 11:45:12 +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
eea5e60bf0 Tweak entry parent check 2007-11-12 11:14:55 +00:00
Howard Chu
caac5b76fb Cleanup debug msgs 2007-11-12 08:34:55 +00:00
Howard Chu
f8588ff0c3 ITS#5225 fix contextCSN updating 2007-11-12 03:50:31 +00:00
Quanah Gibson-Mount
9602d401a5 cleanup 2007-11-11 20:32:18 +00:00
Howard Chu
0f1bad6fb0 ITS#5186 check for multiple suffixes at config time, not open time 2007-11-07 04:31:06 +00:00
Howard Chu
8bc46e741a ITS#5191 do all pagedresult control parsing in the frontend, don't
re-parse in the backend. Keep track of pagedresult controls and state
in backglue.
2007-11-01 15:11:22 +00:00
Howard Chu
d7535d4ddc ITS#5189 revert index.c 1.67, just catch LDAP_OTHER 2007-10-23 00:25:51 +00:00
Howard Chu
bb1d8dfcd7 Fix prev commit, include errno.h 2007-10-23 00:05:03 +00:00
Howard Chu
9965fc5f60 ITS#5189 recognize ENOMEM 2007-10-23 00:03:56 +00:00
Howard Chu
e63ac9ac9e Fix error message propagation 2007-10-15 10:22:51 +00:00
Howard Chu
a8ba9e2131 Check DB directory validity at config time 2007-10-15 10:17:04 +00:00
Pierangelo Masarati
24db207196 check for ee == NULL 2007-09-26 22:37:35 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00
Howard Chu
e8c2414831 Preliminary sorted value support 2007-09-24 01:31:23 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Pierangelo Masarati
d92e8ad1f7 add helper for internal searchs for objectClass=* 2007-09-15 17:38:53 +00:00
Pierangelo Masarati
06e6e6c053 apply Howard's cleanup of database monitoring registration 2007-09-15 15:34:49 +00:00
Pierangelo Masarati
202080dfa1 enable unindexed searches monitoring ifdef LDAP_DEVEL 2007-09-12 21:26:10 +00:00
Howard Chu
40e796c547 ITS#5129 fix alock_close with Quick mode 2007-09-08 05:26:03 +00:00
Howard Chu
6a6adff86c ITS#5129 disallow Quick mode if DB_CONFIG has changed 2007-09-08 04:59:34 +00:00
Pierangelo Masarati
9c437f4411 quote suffix (ITS#5128) and use it as much as possible to identify databases 2007-09-08 00:41:29 +00:00
Pierangelo Masarati
2da15f1013 remove experimental code as per ITS#4962 discussion 2007-09-07 12:33:21 +00:00
Pierangelo Masarati
ed12ff8fd3 parse unsigned as unsigned (ITS#5122) 2007-09-04 19:32:54 +00:00
Pierangelo Masarati
371bf8f803 blind fix: I assume we need to restore ors_scope 2007-09-04 19:31:47 +00:00
Pierangelo Masarati
c73520ec08 fix idl lru deletion of last entry (ITS#5121) 2007-09-04 19:01:55 +00:00
Howard Chu
75964a771f Use IA5String for olcDbConfig to allow empty strings 2007-09-03 00:41:30 +00:00
Howard Chu
33f311d81f Read DB_CONFIG file in server and tool mode, for config conversions 2007-09-02 23:53:29 +00:00
Pierangelo Masarati
c83b8b58a3 hide (experimental) schema 2007-09-01 16:01:29 +00:00
Pierangelo Masarati
e161e8efb6 fix test 2007-08-29 00:13:56 +00:00
Pierangelo Masarati
0bedad3b65 plug leak 2007-08-28 23:56:18 +00:00
Pierangelo Masarati
7c66952714 check for shutdown (need to add to other backends?) 2007-08-26 15:38:51 +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
Pierangelo Masarati
8f95ff260c consistently use "tag=" instead of "op=" in debug messages 2007-08-25 00:10:52 +00:00
Howard Chu
4c7d288eb7 More for BDB 4.6 compatibility 2007-08-17 20:33:46 +00:00
Pierangelo Masarati
553d83c3c1 fix previous commit 2007-08-17 12:38:50 +00:00
Pierangelo Masarati
36111934a3 allow "traditional" behavior (more for ITS#4962; please debate) 2007-08-17 09:51:29 +00:00
Pierangelo Masarati
2f5bfba296 let req_modify_s and req_modrdn_s have a common portion to interoperate within slap_mods_opattrs() (ITS#5093) 2007-08-16 09:48:53 +00:00
Pierangelo Masarati
27428ac00e uniformly exploit rootdn bind; add support for rootdn bind to backends that didn't have it (ITS#4962) 2007-08-16 09:38:15 +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
Howard Chu
a87b4592a4 Remove tool_id2entry_get 2007-08-11 04:19:53 +00:00