Commit Graph

11448 Commits

Author SHA1 Message Date
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
bbfe587246 Add support for 64 bit index hashing 2012-12-03 18:14:28 -08:00
Howard Chu
e1559100eb Fix typo
See commit bb36bdcd1c
2012-12-03 18:00:36 -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
6001417f30 ITS#7459 fix config schema 2012-12-03 06:55:12 -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
e1ccebcf88 ITS#7451 fix back-ldif return on empty dir
Broken by commit 2d1af3f2f7
2012-11-27 14:16:21 -08:00
Howard Chu
a061f2192e ITS#7452 fix typo in envflags 2012-11-26 16:22:27 -08:00
Jan Synacek
3c19681372 ITS#7431 fix constraint_check_restrict segfault 2012-11-26 13:49:53 -08:00
Howard Chu
f13ba102e1 ITS#7450 enforce SLAPD_MAX_DAEMON_THREADS
Also allow the max to be redefined at compile time. Of course, there is no
legitimate reason to do so.
2012-11-25 19:43:49 -08:00
Howard Chu
fc0563ce53 ITS#7449 fix signedness for index_substr_any_*
Of course, no one would ever have any legitimate reason to set these
items to anywhere near such extreme values in the first place.
2012-11-25 19:31:14 -08:00
Ralf Haferkamp
be781ab808 ITS#7445 fix deref control exposure
do not expose control until deref overlay is actually instantiated at least
once (see also ITS#6647)
2012-11-19 16:09:59 +01:00
Ralf Haferkamp
7c97c036c8 Fixed insertion of the overlay_remove callback (SLAP_CONFIG_DELETE) 2012-11-19 14:55:29 +01:00
Ralf Haferkamp
f86e0cd8dc ITS#7436 slapo-deref: call overlay_register_control in db_open 2012-11-09 15:48:02 +01:00
Howard Chu
b4126863a4 ITS#7426 ignore syncrepl ops 2012-11-01 17:56:52 -07:00
Howard Chu
951418f0bf ITS#7427 fix for spurious old entries 2012-11-01 08:36:28 -07:00
Jan Synacek
2991111f82 ITS#7418 Fix slapo-constraint: handle uri and restrict correctly 2012-10-30 16:07:26 -07: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
970e7f8199 ITS#7416 make sure to reopen attr DBs after env reopen 2012-10-11 16:45:42 -07:00
Howard Chu
d42c7c4937 ITS#7414 fix slapo-rwm modrdn cleanup
newSup is NULL if it was specified, but same as old Sup.
2012-10-11 07:59:06 -07:00
Howard Chu
c1800082cc ITS#7403, #6296 fix AUTHZ_BACKEND handling
c_authz_cookie should only be set on explicit Bind requests.
2012-10-03 09:12:14 -07:00
Quanah Gibson-Mount
6a435736fb Fix MDB objectClass so that MDB will load 2012-09-26 16:48:57 -07:00
Howard Chu
d7c964fedb ITS#7403 fix idassert non-override mode 2012-09-26 09:29: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
867134d4ca ITS#7390 fix slapd_rw_destroy 2012-09-14 09:27:40 -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
8fe09ba2a6 ITS#7368 SLAP_AUTH_DN stuff is not for RE24 yet 2012-08-23 14:25:52 -07:00
Howard Chu
6655e2793e ITS#7350 actually use zero-length value ACLs 2012-08-22 15:29:17 -07:00
Howard Chu
3d107181cf ITS#7350 allow value-specific ACLs on zero-length values 2012-08-22 15:05:54 -07:00
Pierangelo Masarati
06dfe9ddde multiple URIs are allowed 2012-08-22 10:50:54 +02:00
Pierangelo Masarati
52a1a86fb5 fix one-time leak 2012-08-22 09:20:18 +02:00
Jan Synacek
057949785f ITS#7340 Fix handling of sets when checking for count constraint 2012-08-21 11:57:59 -07:00
Howard Chu
9d5af71214 ITS#7361 fix Windows lock handling 2012-08-21 04:55:03 -07:00
Howard Chu
858a11d72f Fix whitespace 2012-08-19 13:04:33 -07:00
Howard Chu
842d1b5a17 Added delete support 2012-08-19 12:49:02 -07:00
Howard Chu
aa91738bc1 Fix rewrite/suffixmassage parsing 2012-08-19 01:25:07 -07:00
Howard Chu
e21d97385d Finished emit support 2012-08-19 00:32:43 -07:00
Howard Chu
edbe111c8c back-meta shares back-ldap's OIDs 2012-08-18 01:38:28 -07:00
Howard Chu
dde9480cbd Initial emit support 2012-08-18 00:53:44 -07:00