Commit Graph

1595 Commits

Author SHA1 Message Date
Ondřej Kuzník
f3e8aa5849 ITS#8215 Add bdb tool delete support 2015-10-25 09:04:00 +00:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Howard Chu
a32a2da33a ITS#8040 experimental Lazy Commit 2015-02-02 10:50:22 +00:00
Howard Chu
fccca0ead9 Minor cleanup (coverity) 2015-01-14 16:59:54 +00:00
Howard Chu
bc3dbcbde9 Minor cleanup (coverity) 2015-01-14 13:27:45 +00:00
Howard Chu
14a3efa48a plug unlikely memleak (coverity) 2015-01-13 22:48:07 +00:00
Howard Chu
74d89e567c plug memleak in cr index (coverity) 2015-01-13 22:01:17 +00:00
Howard Chu
09137b6646 Consolidate LDAP_TXN precheck
This commit was accidentally omitted from previous push
2014-09-16 00:09:10 +01:00
Ondrej Kuznik
01f698bce9 ITS#7256 A few issues discovered during testing slapmodify.
- bdb deallocates cursor after some tool operations but expects it to be
  around every time it is called
- mdb tries to allocate a second transaction while it already holds one,
  deadlocking
- op->o_hdr must exist for most uses of op, but o_tmpmfuncs need not
- what about indexing after a tool modify? Does it happen automatically?
2014-07-08 17:28:12 -07:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Howard Chu
b1ed3bf10a ITS#7778 fix regression from #7329 2014-01-13 11:26:46 -08:00
Howard Chu
26ce222b6a ITS#7761 bail out of search if config is pausing 2013-12-10 18:08:36 -08:00
Howard Chu
a4b9cab04f ITS#7750 fix olcDbConfig modification 2013-11-18 20:39:35 -08:00
Howard Chu
66bb780b16 ITS#7743 Fix indexed AND filter
Partially revert 47f6aec61e
Was using RANGE_FIRST/RANGE_LAST on an IDL known to *not* be a range.
2013-11-11 21:01:33 -08:00
Howard Chu
3d1a0bb17e ITS#7741 Fix entryDN index lookup
DN notfound is authoritative, don't ignore the result
2013-11-06 09:41:42 -08:00
Howard Chu
44504848ac ITS#7329 optimize index update for simple add ops
Don't need to reindex all the attr values if there were no deletes.
2013-10-09 07:55:50 -07:00
Quanah Gibson-Mount
1a712bf18e Enable features that were hidden behind LDAP_DEVEL 2013-09-19 09:50:52 -07:00
Howard Chu
3d5e7ef0d2 ITS#7581 more for prev commit 2013-05-23 11:45:05 -07:00
Howard Chu
853b9d1335 ITS#6365 wait for read locks in tool mode
Fix commit e5b96f2c76
2013-02-07 18:23:25 +00:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
e1559100eb Fix typo
See commit bb36bdcd1c
2012-12-03 18:00:36 -08:00
Howard Chu
b555730139 ITS#7402 tweak prev commit, use hex for txn IDs 2012-10-20 09:34:13 -07:00
Howard Chu
c2783b9c5e ITS#7402 fix potential txn leak in online indexer 2012-10-20 09:27:23 -07:00
Howard Chu
48f6a47c1e ITS#7402 add txnID to debug output to aid tracing 2012-10-20 09:25:14 -07:00
Howard Chu
da75e3b65e ITS#7338 fix olcDbConfig changes to take effect immediately 2012-07-26 10:08:18 -07:00
Emily Backes
c453a236fc Update name information 2012-07-22 07:08:35 -07:00
Howard Chu
ccffd16085 TS#7303 tweak 2012-06-12 16:23:54 -07:00
Howard Chu
7c28420618 ITS#7303 fix unneeded alias lookups 2012-06-12 16:16:07 -07:00
Hrvoje
243a2316d3 ITS#7222 fix bdb/hdb cache hang under high load 2012-05-31 10:48:38 -07:00
Howard Chu
8bf047c8cb ITS#7231 simplify prev commit 2012-04-07 07:57:39 -07:00
Howard Chu
494c6fa37f ITS#7231 fix idl_append when b has only 1 element 2012-04-07 07:36:43 -07:00
Pierangelo Masarati
ce54dabb1b fix uninit'ed parameters to monitor_back_register_entry_attrs() 2012-04-04 15:09:50 +02:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
8a6402436e More cleanup for previous slapadd tweaks 2011-11-17 14:21:18 -08:00
Howard Chu
9f22ced88b Fix Quickmode crash 2011-11-07 12:02:57 -08:00
Howard Chu
7592013f59 Additional tweaks for double-threaded slapadd 2011-10-06 16:10:47 -07:00
Howard Chu
df47eb24cd Additional change for prev commit 2011-10-04 23:45:33 -07:00
Howard Chu
34adb86929 Use a thread for LDIF parsing in slapadd -q 2011-10-04 19:21:39 -07:00
Hallvard Furuseth
47f6aec61e back-bdb/back-mdb IDL cleanup.
Parenthesize macros.  Microoptimize IDL search.  Use RANGE_<FIRST/LAST>
when IDL is known to be a range.
2011-09-19 10:31:12 +02:00
Howard Chu
9297050f9e Resolve MDB/HDB monitor OID clashes 2011-09-12 11:41:04 -07:00
Howard Chu
4f35d789ac Relax entry_header, zero-length entries are valid. 2011-08-27 14:48:04 -07:00
Howard Chu
1c476b302e ITS#6983 fix duplicate entry in HDB subtree IDL 2011-08-25 14:47:23 -07:00
Howard Chu
f5b809b2e9 Fix ce9bbd2 missing success return 2011-06-03 21:56:01 -07:00
Howard Chu
ce9bbd2df2 More for ITS#6961 - deadlock checking 2011-06-01 11:29:39 -07:00
Howard Chu
f5cb879aed Fix for sparse ranges, get next ID from DB
Instead of iterating thru potentially many nonexistent IDs
2011-06-01 01:44:51 -07:00
Hallvard Furuseth
fac36dcba7 ITS#6932: Clean up strange asserts & nearby code.
Mostly found by Klocwork: Issues #213,298-300,331,342-343,374,390,410.
2011-05-05 15:55:29 +02:00
Hallvard Furuseth
e2e5a8504d klocwork#255 Fix sprintf(%d, u_int32_t) 2011-05-05 13:51:36 +02:00
Howard Chu
31175da39e More for ITS#6853, check for trickle thread not yet started 2011-03-16 17:30:24 +00:00
Howard Chu
2399e2536f More for 6853, add condvar for end condition 2011-03-11 22:16:13 +00:00
Howard Chu
7dd1089706 ITS#6853 wait for trickle task to quit 2011-03-04 23:54:10 +00:00