]>
git.sur5r.net Git - openldap/log
Howard Chu [Wed, 15 Oct 2014 10:08:29 +0000 (11:08 +0100)]
ITS#7967 fix abandon regression
From ITS#7712, avoid double-free of request
Leo Yuriev [Tue, 14 Oct 2014 10:49:25 +0000 (14:49 +0400)]
ITS#7965 mdb_dn2id
heap corruption due to returning a reference to a local variable
Kurt Zeilenga [Fri, 10 Oct 2014 19:15:48 +0000 (12:15 -0700)]
closedir() replacement function should return a result
return success, ignoring result of FindClose
Kurt Zeilenga [Fri, 10 Oct 2014 18:56:31 +0000 (11:56 -0700)]
Fix pointer incompatibility issue on some platforms
Don't assume tv_sec is a time_t.
Quanah Gibson-Mount [Fri, 3 Oct 2014 20:35:39 +0000 (15:35 -0500)]
Silence compiler warning by adding explicit return 0 to ppolicy_db_destroy
Kurt Zeilenga [Mon, 29 Sep 2014 22:10:36 +0000 (15:10 -0700)]
Updates for new servers
Kurt Zeilenga [Mon, 29 Sep 2014 20:22:50 +0000 (13:22 -0700)]
Use OpenSSL md5/sha1
Howard Chu [Sat, 20 Sep 2014 06:28:07 +0000 (07:28 +0100)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Sat, 20 Sep 2014 06:24:32 +0000 (07:24 +0100)]
new date
Howard Chu [Fri, 19 Sep 2014 18:22:14 +0000 (19:22 +0100)]
Fix mdb_txn cleanup
Howard Chu [Fri, 19 Sep 2014 01:30:32 +0000 (02:30 +0100)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Fri, 19 Sep 2014 00:45:43 +0000 (01:45 +0100)]
ITS#7943 reinit txn flags
When reusing the main write txn
Howard Chu [Thu, 18 Sep 2014 05:49:26 +0000 (06:49 +0100)]
ITS#7942 tweak previous commit
Only free when cleaning up operation controls, not response controls.
(This only makes a difference on search requests, which may have
multiple responses with the same set of controls.)
Howard Chu [Thu, 18 Sep 2014 01:12:33 +0000 (02:12 +0100)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Thu, 18 Sep 2014 01:06:38 +0000 (02:06 +0100)]
ITS#7942 plug leak in controls
Howard Chu [Thu, 18 Sep 2014 00:22:02 +0000 (01:22 +0100)]
Plug leak in
4d02c741b120786df1b87ee9ed49c1d3f9bc7522
Free writer txn on env_close
Howard Chu [Wed, 17 Sep 2014 23:33:33 +0000 (00:33 +0100)]
ITS#7941 fix for repeated tags
Make sure ntags isn't incremented if we're skippnig the tag
Howard Chu [Tue, 16 Sep 2014 20:54:07 +0000 (21:54 +0100)]
Silence some clang warnings
Howard Chu [Mon, 15 Sep 2014 18:23:09 +0000 (19:23 +0100)]
LDAP_TXN is now RFC 5805
Howard Chu [Mon, 15 Sep 2014 18:18:30 +0000 (19:18 +0100)]
Consolidate LDAP_TXN precheck
This commit was accidentally omitted from previous push
Howard Chu [Mon, 15 Sep 2014 22:42:27 +0000 (23:42 +0100)]
Add updateControls to txn response
Howard Chu [Mon, 15 Sep 2014 20:44:20 +0000 (21:44 +0100)]
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.
Quanah Gibson-Mount [Mon, 15 Sep 2014 18:53:04 +0000 (13:53 -0500)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Mon, 15 Sep 2014 18:48:32 +0000 (19:48 +0100)]
Release 0.9.14
Quanah Gibson-Mount [Sat, 13 Sep 2014 21:24:58 +0000 (16:24 -0500)]
Merge remote-tracking branch 'origin/mdb.master'
Quanah Gibson-Mount [Sat, 13 Sep 2014 21:21:17 +0000 (16:21 -0500)]
Change retry to num times 60. Testing shows that on a known dataset, this has the same growth behavior as 2.4.39, while num times 20 resulted in significant growth.
Howard Chu [Thu, 11 Sep 2014 09:24:09 +0000 (10:24 +0100)]
ITS#7937 flush data to socket
Leo Yuriev [Wed, 10 Sep 2014 00:08:18 +0000 (04:08 +0400)]
ITS#7915 fix memory leaks in previous patch
Howard Chu [Tue, 9 Sep 2014 18:44:23 +0000 (19:44 +0100)]
More for me_pgoldest
Leave it in main env struct, it doesn't need to be rolled back
with nested txns.
Howard Chu [Tue, 9 Sep 2014 18:40:05 +0000 (19:40 +0100)]
Remember oldest reader txnid
Don't walk the readers table unless we really need to.
Howard Chu [Tue, 9 Sep 2014 13:40:11 +0000 (14:40 +0100)]
ITS#7935 partially revert prev patch
Can't allow special chars in RDN, not all OSs/filesystems support it.
Howard Chu [Tue, 9 Sep 2014 13:35:43 +0000 (14:35 +0100)]
ITS#7935 fix schema RDN normalization
Howard Chu [Mon, 8 Sep 2014 14:40:28 +0000 (15:40 +0100)]
ITS#7929 don't log internal searches
Howard Chu [Mon, 8 Sep 2014 13:50:54 +0000 (14:50 +0100)]
ITS#7934 add missing normalization of attrs
Jan Synacek [Mon, 8 Sep 2014 11:32:04 +0000 (13:32 +0200)]
ITS#7933 fix frontend config
hyc [Sat, 6 Sep 2014 08:49:32 +0000 (09:49 +0100)]
ITS#7930 additional fix
bypass cleanup handlers for suppressed search result msgs
hyc [Sat, 6 Sep 2014 08:14:46 +0000 (09:14 +0100)]
ITS#7930 partial fix
Only restore op->o_req_dn if no one else changed it on us.
Howard Chu [Thu, 4 Sep 2014 09:40:11 +0000 (10:40 +0100)]
Use a single write txn
Howard Chu [Fri, 29 Aug 2014 01:19:35 +0000 (02:19 +0100)]
ITS#7928 fix syncprov abandon cleanup
Howard Chu [Thu, 28 Aug 2014 17:21:21 +0000 (18:21 +0100)]
ITS#7702 better fix
Check for duplicate scopes in search_aliases, not later.
Howard Chu [Thu, 28 Aug 2014 16:51:46 +0000 (17:51 +0100)]
Revert "ITS#7702 fix results with aliases"
This reverts commit
cac00c6a97bbbbcec75f2ebcffaae1dd1769a28e .
Howard Chu [Wed, 27 Aug 2014 10:50:32 +0000 (11:50 +0100)]
ITS#7904 init wwctx earlier
Howard Chu [Tue, 26 Aug 2014 19:07:40 +0000 (20:07 +0100)]
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.
Howard Chu [Tue, 26 Aug 2014 18:17:33 +0000 (19:17 +0100)]
ITS#7927 fix double-free of searchref
Howard Chu [Sun, 24 Aug 2014 20:21:26 +0000 (21:21 +0100)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Sun, 24 Aug 2014 20:18:03 +0000 (21:18 +0100)]
ITS#7913 cleanup
we already checked for data == NULL, drop unnecessary if
Howard Chu [Fri, 22 Aug 2014 03:26:00 +0000 (20:26 -0700)]
Cleanup mdb_ad_get
Howard Chu [Fri, 22 Aug 2014 00:41:09 +0000 (17:41 -0700)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Fri, 22 Aug 2014 00:40:20 +0000 (17:40 -0700)]
More for MIPS
Move CACHEFLUSH, avoid unnecessary if()
Howard Chu [Wed, 20 Aug 2014 20:40:19 +0000 (13:40 -0700)]
ITS#7906,#7923 Don't free configinfo in _db_close
Howard Chu [Wed, 20 Aug 2014 20:06:51 +0000 (13:06 -0700)]
ITS#7904 more tweaks
Must save/restore mcd cursor if we're doing a scope-based search.
Howard Chu [Wed, 20 Aug 2014 03:29:23 +0000 (20:29 -0700)]
ITS#7922 delete dead code
Harmless, but stupid.
Quanah Gibson-Mount [Mon, 18 Aug 2014 17:18:44 +0000 (12:18 -0500)]
Fix typo
Howard Chu [Mon, 18 Aug 2014 03:49:13 +0000 (20:49 -0700)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Mon, 18 Aug 2014 03:44:53 +0000 (20:44 -0700)]
Partially revert
ada26306992babeccad0c5443fbd76e28dd24cd6
Of course, MacOSX only has posix_memalign, and only in recent versions.
(Older versions could use valloc instead. That precludes ever changing
the LMDB pagesize to be different from the OS pagesize.) Not all that
crucial since it only affects mdb_env_copyfd1.
Howard Chu [Sun, 17 Aug 2014 21:56:55 +0000 (14:56 -0700)]
Merge remote-tracking branch 'origin/mdb.master'
Hallvard Furuseth [Sat, 16 Aug 2014 23:50:32 +0000 (01:50 +0200)]
Microoptimize loose pages
Hallvard Furuseth [Sat, 16 Aug 2014 22:29:12 +0000 (00:29 +0200)]
Fix loose pages in mdb_freelist_save().
Leaving them in dirty_list caused breakage. Instead merge them
into me_pghead at the end, when no more pages will be allocated.
Hallvard Furuseth [Sat, 16 Aug 2014 09:34:44 +0000 (11:34 +0200)]
Split out mdb_midl_xmerge, add MDB_IDL_ALLOCLEN
Howard Chu [Thu, 14 Aug 2014 03:49:05 +0000 (20:49 -0700)]
ITS#7920 fix for slapacl
This needs to be streamlined in 2.5, current tool API is a mess.
Howard Chu [Thu, 14 Aug 2014 02:53:56 +0000 (19:53 -0700)]
ITS#7838 fix typos in prev commit
Howard Chu [Thu, 14 Aug 2014 02:22:17 +0000 (19:22 -0700)]
ITS#7919 fix cache DB config
Don't accept config directives for cache DB until the cache backend type
has been set.
Howard Chu [Mon, 11 Aug 2014 20:48:29 +0000 (13:48 -0700)]
ITS#7906 more cleanup
db_open/close were not symmetric with init/destroy
Howard Chu [Mon, 11 Aug 2014 18:02:31 +0000 (11:02 -0700)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Mon, 11 Aug 2014 18:01:20 +0000 (11:01 -0700)]
ITS#7917
Howard Chu [Mon, 11 Aug 2014 18:00:11 +0000 (11:00 -0700)]
ITS#7917 fix mdb_dbi_open
Don't let dummy go out of scope
Howard Chu [Thu, 7 Aug 2014 18:06:53 +0000 (11:06 -0700)]
Just use memalign, not posix_memalign
Everything has it. Solaris doesn't have posix_memalign.
Howard Chu [Wed, 6 Aug 2014 15:36:17 +0000 (08:36 -0700)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Wed, 6 Aug 2014 02:37:28 +0000 (19:37 -0700)]
ITS#7906 minor cleanup
rename ppolicy_close -> ppolicy_db_close for consistency
Howard Chu [Wed, 6 Aug 2014 02:36:30 +0000 (19:36 -0700)]
ITS#7906 better fix
don't free pwcons unless we're actually destroying this DB
Howard Chu [Mon, 4 Aug 2014 20:37:34 +0000 (13:37 -0700)]
ITS#7915 fix translucent_modify
Go directly to local backend when fetching local entry
Howard Chu [Mon, 4 Aug 2014 20:35:02 +0000 (13:35 -0700)]
ITS#7915 fix mdb_entry_release
In server mode, make sure the entry was actually ours
Howard Chu [Mon, 4 Aug 2014 18:40:24 +0000 (11:40 -0700)]
More for MIPS
Do a cacheflush after writing data pages, separate from meta's cacheflush
Howard Chu [Mon, 4 Aug 2014 16:26:35 +0000 (09:26 -0700)]
ITS#7793 more for branch key update
Howard Chu [Mon, 4 Aug 2014 12:13:29 +0000 (05:13 -0700)]
ITS#7793 doc update, again
Howard Chu [Mon, 4 Aug 2014 11:57:53 +0000 (04:57 -0700)]
ITS#7793 update branch key if needed
Howard Chu [Sat, 2 Aug 2014 18:17:12 +0000 (11:17 -0700)]
ITS#7895 drop toolmode checks in str2entry
They were obsoleted by ITS#6737 and have been redundant ever since.
(commit
15f1e7bdb7ae487424f19934b0d5dbf4bc30bea6 )
Howard Chu [Sat, 2 Aug 2014 17:33:35 +0000 (10:33 -0700)]
More for MIPS
Paranoia for
3630066843b7ca6b2cd12911d3e2fe3314cd4549 do the
cacheflush before setting mti_txnid.
Howard Chu [Thu, 31 Jul 2014 18:29:31 +0000 (11:29 -0700)]
ITS#7912 fix index config
Quanah Gibson-Mount [Thu, 31 Jul 2014 17:56:49 +0000 (12:56 -0500)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Thu, 31 Jul 2014 16:59:52 +0000 (09:59 -0700)]
ITS#7913 mdb_cursor_get(*_DUP) cleanup
FIRST_DUP/LAST_DUP should succeed even on non-duplicate values
PREV_DUP should reset cursor's EOF flag.
Howard Chu [Wed, 30 Jul 2014 13:55:36 +0000 (06:55 -0700)]
ITS#7909 fix slap_callback init
Quanah Gibson-Mount [Mon, 28 Jul 2014 18:04:43 +0000 (13:04 -0500)]
ITS#7908
Add olcSssVlvMaxPerConn to the olcSssVlvConfig objectClass
Howard Chu [Sun, 27 Jul 2014 01:16:02 +0000 (18:16 -0700)]
Fix MIPS cache coherency on Linux
MIPS chips require manual control of on-chip caches. The cacheflush
syscall being used here only exists on MIPS Linux, other OSs will
require revisiting.
Howard Chu [Fri, 25 Jul 2014 00:02:30 +0000 (17:02 -0700)]
ITS#7906 fix ppolicy_connection_destroy
It can still run after ppolicy_close has freed the connection table
Quanah Gibson-Mount [Thu, 24 Jul 2014 17:07:44 +0000 (12:07 -0500)]
Merge remote-tracking branch 'origin/mdb.master'
Howard Chu [Thu, 24 Jul 2014 11:15:45 +0000 (04:15 -0700)]
Update date
Howard Chu [Thu, 24 Jul 2014 11:13:55 +0000 (04:13 -0700)]
more for mdb_cursor_count
return MDB_NOTFOUND if the cursor is empty
Hallvard Furuseth [Wed, 9 Jul 2014 19:38:45 +0000 (21:38 +0200)]
Fix mdb_copy & co when MDB pagesize < OS pagesize
Howard Chu [Thu, 24 Jul 2014 00:31:34 +0000 (17:31 -0700)]
ITS#7789 doc updates
Hallvard Furuseth [Thu, 24 Jul 2014 00:24:31 +0000 (17:24 -0700)]
ITS#7789 Fix mdb_env_write_meta().
Always write mapsize = max(other metapage:mapsize, env:mapsize).
Howard Chu [Thu, 24 Jul 2014 00:10:41 +0000 (17:10 -0700)]
Revert ITS#7789 commits, let's try this again.
Revert "ITS#7789 Fix resize vs MDB_NOMETASYNC, and a comment."
Revert "ITS#7789 more"
Revert "Revert "ITS#7789 update RESIZED errmsg text""
Revert "ITS#7789 update RESIZED errmsg text"
Revert "ITS#7789 persist mapsize changes"
This reverts commit
02285aca58f5629547263ba09e7dd685dcf6b4b5 .
This reverts commit
38e71c68de2ad61fb0fd72fd40214fd9a94479b9 .
This reverts commit
a5e4eecb1e59e9645113bb4c63d06a23a2c4bdf9 .
This reverts commit
d8e18551c3f03d5205f4dc8d1711e494d3814b17 .
This reverts commit
5926e54bba7c976e0837221efb20cbff384207b8 .
Howard Chu [Wed, 23 Jul 2014 20:06:23 +0000 (13:06 -0700)]
Howard Chu [Wed, 23 Jul 2014 04:55:23 +0000 (21:55 -0700)]
Fix prev commit
Howard Chu [Wed, 23 Jul 2014 04:52:24 +0000 (21:52 -0700)]
More for writewait callback
Must also reset search cursors
Howard Chu [Wed, 23 Jul 2014 03:24:58 +0000 (20:24 -0700)]
ITS#7903 preserve Sorted status of attrs
Howard Chu [Wed, 23 Jul 2014 03:21:35 +0000 (20:21 -0700)]
ITS#7902 fix str2entry / sorted vals
Howard Chu [Wed, 23 Jul 2014 02:17:15 +0000 (19:17 -0700)]
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.
Ondřej Kuzník [Tue, 22 Jul 2014 08:19:04 +0000 (10:19 +0200)]
ITS#7894 Let back-config use backend to release entries
Quanah Gibson-Mount [Tue, 22 Jul 2014 17:30:27 +0000 (12:30 -0500)]
Merge remote-tracking branch 'origin/mdb.master'