Commit graph

25 commits

Author SHA1 Message Date
Howard Chu
2f53035a51 ITS#7496, more for ITS#7483
Missing entries need to be checked at runtime too, not just slapcat.
Apparently some people will still try to run slapd even after slapadd
tells them their DB load was invalid.
2013-01-22 12:34:40 +00:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
ea248dacf4 Don't decode entries until we know they're in scope 2012-08-27 14:08:06 -07:00
Howard Chu
38a3317096 Use new Append support 2012-07-21 06:21:56 -07:00
Howard Chu
3423b56690 ITS#7146 fix prev commit 2012-02-02 03:26:53 -08:00
Howard Chu
9d3b1af2ff ITS#7146 check for ad_index overflow
Temporary fix...
2012-02-02 03:08:33 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
4f298d47af ITS#7099 fix mdb_entry_return for tool mode
Originally, overlays were not supposed to take effect in tool mode.
Apparently that's no longer the case...
2011-11-29 05:42:46 -08:00
Howard Chu
2c4d548206 ITS#7090 fix out-of-order slapadd 2011-11-25 00:25:52 -08:00
Howard Chu
4c17f31843 Keep some dn2i/id2e cursors open longer
So they can be reused, and avoid unnecessary page_searches
2011-10-06 19:14:22 -07:00
Howard Chu
8a8fb76cca Use MDB_APPEND mode where possible 2011-10-02 21:29:21 -07:00
Howard Chu
a1533520c1 Use MDB_RESERVE for id2entry_put 2011-10-02 10:06:06 -07:00
Howard Chu
c5ee5212fd Updated for mdb_txn_begin API change.
Nested txn stuff which we don't use.
2011-09-21 15:59:08 -07:00
Howard Chu
04311cc716 Fix entry_alloc with no attrs 2011-09-14 10:14:02 -07:00
Howard Chu
dfed6f77d7 More search optimization
Tighten up entry_alloc/entry_decode
Track parent nodes in idscopes
2011-09-13 16:58:38 -07:00
Howard Chu
fb264bf3e1 Tentative speedup - use plain ints for entry_encode/decode
Keep entries word-aligned. Yields ~10% speedup, but also 10% more space used.
May revert this if the space cost is unacceptable.
2011-09-13 15:24:50 -07:00
Howard Chu
c4ddf352ba Just use memcpy since we know it's non-overlapping 2011-09-12 11:05:38 -07:00
Howard Chu
16cbeb5e65 Fix - slapcat doesn't set op->o_hdr for tmpmemctx 2011-09-10 01:12:50 -07:00
Howard Chu
802a2ad4b2 Fix out-of-order slapadd 2011-09-09 22:29:19 -07:00
Howard Chu
54ced52c04 Keep cursor open for id2entry 2011-09-09 01:01:25 -07:00
Howard Chu
f72d65b77a Use tmpmem-based entries 2011-09-08 22:07:04 -07:00
Howard Chu
a3346f969f More error msgs 2011-09-06 17:29:42 -07:00
Howard Chu
6c8e4f2671 More search optimizations 2011-09-06 02:21:19 -07:00
Howard Chu
1e32fcf099 Use AD-indexes 2011-09-05 19:52:06 -07:00
Howard Chu
0ba4206ed9 Import back-mdb 2011-09-01 17:00:26 -07:00