Howard Chu
86ae4e0126
ITS#8226 leave nested ops alone
2015-08-31 14:55:35 +01:00
Howard Chu
35f17e023d
ITS#8226 revert unintended commit
2015-08-30 05:01:59 +01:00
Howard Chu
21bf33b0e8
ITS#8226 limit size of read txns in searches
2015-08-30 04:54:22 +01:00
Howard Chu
afa9a9c3e0
Use batched write txns in refresh
...
Experimental - write 500 updates per txn instead of 1:1
2015-08-14 17:43:03 +01:00
Howard Chu
fa705a1814
ITS#8203 plug leak in prev commit
2015-07-24 19:32:19 +01:00
Howard Chu
3033f89eef
ITS#8203 more fixes for #8036/#7904.
2015-07-24 18:35:28 +01:00
Howard Chu
3f119767f7
ITS#8146 fix off-by-1 in prev commit
2015-05-19 21:21:54 +01:00
Howard Chu
4f05e3d966
ITS#8146 tweak prev commit
...
Test less likely condition first
2015-05-18 18:06:58 +01:00
Howard Chu
1e768c1cda
ITS#8146 fix mdb_filter_candidates for unindexed attr
...
Change result of MDB_IDL_ALL() to use the last entryID in the DB
instead of NOID.
2015-05-18 17:55:04 +01:00
Howard Chu
15347d1180
ITS#8103 fix crash with more than 65535 aliases in a scope
2015-04-13 13:11:29 -07:00
Howard Chu
dcd0fd27f6
ITS#8040 use NOMETASYNC for lazycommit
...
not NOSYNC. Might be configurable in the future, but we don't
really want to add more config options at present
2015-04-09 15:56:22 +01:00
Quanah Gibson-Mount
1705fa7e55
Happy New Year
2015-02-11 15:36:57 -06:00
Howard Chu
3b130b65a4
ITS#8049 fix typo
2015-02-04 02:40:30 +00:00
Howard Chu
a32a2da33a
ITS#8040 experimental Lazy Commit
2015-02-02 10:50:22 +00:00
Howard Chu
97ed9736e5
ITS#8036 cleanup prev commit
2015-01-27 23:53:19 +00:00
Howard Chu
217d6ffcdb
ITS#8036 more for prev commit
2015-01-27 23:39:46 +00:00
Howard Chu
969d477168
ITS#8036 fix regression from ITS#7904
2015-01-27 22:26:33 +00:00
Howard Chu
c5378df634
ITS#8011 fix prev patch
...
Remove assert. This is merely a cache of parent DNs, failure to
insert doesn't affect outcome.
2015-01-27 18:30:23 +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
9266a43d6c
ITS#8016 return errmsg for unknown envflags
2015-01-05 09:37:27 +00:00
Leo Yuriev
67a65ec701
ITS#8011: few corrections for lmdb-backend;
...
dn2id.c:
+ assertion for mdb_id2l_insert() result;
- unnecessary assignment;
search.c:
- unused variable 'first';
+ range-check for mdb_idl_search() result;
2015-01-04 07:41:07 +00:00
Howard Chu
e8771b785c
ITS#8007 fix d06f5e7c1b
...
duplicate OID, oops
2014-12-16 20:08:32 +00:00
Howard Chu
d06f5e7c1b
ITS#8007 Add maxentrysize config option
2014-12-15 21:35:48 +00:00
Howard Chu
e6e073d31e
ITS#7975 fix onelevel search
2014-10-29 18:05:00 +00:00
Leo Yuriev
b0e46fb9f9
ITS#7965 mdb_dn2id
...
heap corruption due to returning a reference to a local variable
2014-10-14 13:15:16 +01:00
Howard Chu
766103a912
Fix mdb_txn cleanup
2014-09-19 19:22:14 +01:00
Howard Chu
09137b6646
Consolidate LDAP_TXN precheck
...
This commit was accidentally omitted from previous push
2014-09-16 00:09:10 +01:00
Howard Chu
32f05e96f7
Flesh out txn support
...
Only in back-mdb; back-bdb needs work but it's deprecated;
not worth the effort. In particular txn, retry after deadlocks
makes the whole thing too messy.
2014-09-15 23:48:23 +01:00
Leo Yuriev
c1f04881be
ITS#7915 fix memory leaks in previous patch
2014-09-10 11:51:44 +01:00
Howard Chu
9a8cb6091a
ITS#7702 better fix
...
Check for duplicate scopes in search_aliases, not later.
2014-08-28 18:21:21 +01:00
Howard Chu
f42c7c6bbc
Revert "ITS#7702 fix results with aliases"
...
This reverts commit cac00c6a97
.
2014-08-28 17:51:46 +01:00
Howard Chu
b669f5b706
ITS#7904 init wwctx earlier
2014-08-27 11:50:32 +01:00
Howard Chu
cac00c6a97
ITS#7702 fix results with aliases
...
Aliases pointing within the original search scope could cause
the same entry to be returned multiple times. Check for subtree
scope and duplicate scopes.
2014-08-26 20:07:40 +01:00
Howard Chu
e5f5a4ab5f
ITS#7927 fix double-free of searchref
2014-08-26 19:17:33 +01:00
Howard Chu
b07e31aa02
Cleanup mdb_ad_get
2014-08-21 20:26:00 -07:00
Howard Chu
3feffb9a0a
ITS#7904 more tweaks
...
Must save/restore mcd cursor if we're doing a scope-based search.
2014-08-20 13:06:51 -07:00
Howard Chu
27f3ef2cfd
ITS#7920 fix for slapacl
...
This needs to be streamlined in 2.5, current tool API is a mess.
2014-08-13 20:49:05 -07:00
Howard Chu
d8c060104d
ITS#7915 fix mdb_entry_release
...
In server mode, make sure the entry was actually ours
2014-08-04 13:36:48 -07:00
Howard Chu
5ac3dbefcd
ITS#7912 fix index config
2014-07-31 11:31:14 -07:00
Howard Chu
e17878933f
ITS#7904 writewait patch
...
Assigned ITS#, tweaking. This ITS includes
4f05d992f2
716b35e191
be792fae2c
2014-07-23 13:12:51 -07:00
Howard Chu
4f05d992f2
Fix prev commit
2014-07-22 21:55:23 -07:00
Howard Chu
716b35e191
More for writewait callback
...
Must also reset search cursors
2014-07-22 21:52:24 -07:00
Howard Chu
031640456b
ITS#7903 preserve Sorted status of attrs
2014-07-22 20:24:58 -07:00
Howard Chu
be792fae2c
Add sc_writewait callback
...
Invoked before a blocked writer waits for socket to be writable.
Use in back-mdb to release reader txn while waiting.
2014-07-22 19:17:15 -07:00
Howard Chu
b9abbdf623
Add missing mdb_strerror calls to debug msgs
2014-07-09 11:21:41 -07: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
Howard Chu
4afa10d059
ITS#7872 plug memleak of matchedDN
2014-06-04 14:02:06 -07:00
Howard Chu
a01d3f965b
ITS#7870 ignore index DBs in slapcat
2014-06-03 20:38:21 -07:00
Howard Chu
5a08b66141
ITS#7705,#7800 fix prev commit
...
Better check for missing IDs
2014-05-15 21:27:21 -07:00