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
Howard Chu
fb0b0688b0
ITS#7473 check DN scope before fetching id2e
...
This is only a 10% gain, but still worth having for now.
2013-01-11 03:15:59 -08:00
Howard Chu
acec27ec94
ITS#7488 disable threaded indexer for now
...
No time to find the bug at the moment.
There's no performance benefit anyway.
2013-01-09 09:07:29 -08:00
Kurt Zeilenga
0fd1bf30b8
Happy New Year
2013-01-02 10:22:57 -08:00
Howard Chu
e4ec2be93d
Better handling of missing entries
...
Treat zero-length entries properly (as missing entries) in entry_next()
and entry_get_int().
2012-12-28 11:26:26 -08:00
Howard Chu
d3087229d5
Get MDB txn before acquiring a CSN
...
Since MDB writes are fully serialized in txn_begin, we can use CSNs as
commit sequence numbers, not just change sequence numbers. This will
prevent most instances of out-of-order writes, so syncprov will almost
never need to transmit a change without a cookieCSN. (Out-of-order is
still possible, if the write was received via syncrepl.)
2012-12-13 07:13:39 -08:00
Howard Chu
a2cfb99c52
ITS#7469 fix slapcat
2012-12-10 17:32:44 -08:00
Howard Chu
fe9e1113ae
Rename mdb_open/close mdb_dbi_open/close
2012-12-03 17:06:31 -08:00
Howard Chu
c0f7090cac
Plug slapindex memleak
2012-12-03 11:39:14 -08:00
Howard Chu
aa1ae03caf
Rename libmdb to liblmdb
2012-11-30 12:59:18 -08:00
Howard Chu
e51aff55e6
Rename mdb.h to lmdb.h
2012-11-30 12:35:05 -08:00
Howard Chu
a061f2192e
ITS#7452 fix typo in envflags
2012-11-26 16:22:27 -08:00
Howard Chu
970e7f8199
ITS#7416 make sure to reopen attr DBs after env reopen
2012-10-11 16:45:42 -07:00
Quanah Gibson-Mount
6a435736fb
Fix MDB objectClass so that MDB will load
2012-09-26 16:48:57 -07:00
Howard Chu
d426cafaca
More for envflags
...
If trying to alter a non-resettable flag, just close/reopen the env.
2012-09-25 04:37:29 -07:00
Howard Chu
dc9ef835c5
Add envflags for MDB config
...
allows setting writemap and some other useful flags
2012-09-25 04:31:37 -07:00
Howard Chu
3e47e825fd
ITS#7391 more for ab04c50a32
2012-09-14 12:53:47 -07:00
Howard Chu
bdef02832e
ITS#7386 close read txn in reindex commit
2012-09-12 13:37:22 -07:00
Howard Chu
54a111907b
More for 38a3317096
...
update mdb_tool_idl_add prototype
2012-09-04 04:44:20 -07:00
Howard Chu
c9c24fbafe
More for ea248dacf4
...
Fix search_aliases invocation
2012-09-04 04:39:17 -07:00
Howard Chu
bf10bdb03a
Fix typos in prev commit
2012-08-27 14:27:04 -07: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
11cf13bf9d
Fix slapadd -q -w double-free
2012-08-17 13:38:47 -07:00
Howard Chu
e5864927ae
Fix online reconfig
...
maxreaders/maxsize was not re-opening because cleanup call was missing
online indexer should abort txn after index failure
2012-07-26 08:45:39 -07:00
Howard Chu
2265d2bac8
Append tweak: must init mdb->mi_nextid
...
Otherwise duplicate entries aren't detected
2012-07-22 15:44:11 -07:00
Emily Backes
c453a236fc
Update name information
2012-07-22 07:08:35 -07:00
Howard Chu
38a3317096
Use new Append support
2012-07-21 06:21:56 -07:00
Howard Chu
6934696c23
ITS#7323 plug leak in online indexer
2012-07-12 02:36:12 -07:00
Howard Chu
8aa05e920a
ITS#7302 fix mdb_dn2id_delete
2012-06-22 07:10:56 -07:00
Howard Chu
7c28420618
ITS#7303 fix unneeded alias lookups
2012-06-12 16:16:07 -07:00
Howard Chu
d0296e6e33
ITS#7279 init rc in mdb_idl_insert_keys
2012-05-30 05:09:31 -07:00
Howard Chu
34240dbbbb
ITS#7255 in mdb_tool_entry_modify use the existing global txn
2012-05-02 13:32:06 -07:00
Howard Chu
71843da2a7
MDB_APPEND should only be used in tool mode
2012-04-09 05:18:44 -07:00
Pierangelo Masarati
ce54dabb1b
fix uninit'ed parameters to monitor_back_register_entry_attrs()
2012-04-04 15:09:50 +02:00
Howard Chu
47e57a9c8f
ITS#7191 fix typo, more alignment tweaks
2012-03-08 21:39:31 -08:00
Howard Chu
d0bcaee0f3
ITS#7190 don't crash in slapcat on NULL entry
2012-03-06 22:15:51 -08:00
Howard Chu
c4325af7e0
ITS#7180 fix mdb_entry_get when mdb_entry_next was not called
2012-02-24 15:20:17 -08:00
Howard Chu
9b9f4984f0
More for ITS#7170
2012-02-23 12:08:53 -08:00
Howard Chu
c4d78a17c3
ITS#7170 fix Quick mode index generation
2012-02-22 16:01:59 -08:00
Howard Chu
164e738878
ITS#7176 fix slapindex -q -t
2012-02-20 17:04:24 -08:00
Hallvard Furuseth
465942e74d
ITS#7160 Support POSIX make: No $< in target rules
2012-02-18 18:17:40 +01: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
Howard Chu
d7933e2ea4
ITS#7140 more cleanup on txn abort
2012-01-28 11:52:09 -08:00
Howard Chu
5ca62457f3
Fix: txn is invalidated by mdb_txn_commit()
2012-01-21 08:49:49 -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
e52127533d
ITS#7087 fix mdb_online_index endless loop
2011-11-10 16:33:49 -08:00
Howard Chu
3b2961fcc2
More debug msg null pointer checks
2011-11-09 15:36:16 -08:00