]> git.sur5r.net Git - openldap/log
openldap
8 years agoPrep for release OPENLDAP_REL_ENG_2_4_43
Quanah Gibson-Mount [Mon, 30 Nov 2015 17:02:00 +0000 (11:02 -0600)]
Prep for release

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 30 Nov 2015 16:59:37 +0000 (10:59 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoRelease 0.9.17 LMDB_0.9.17
Howard Chu [Mon, 30 Nov 2015 16:55:33 +0000 (16:55 +0000)]
Release 0.9.17

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 30 Nov 2015 16:52:18 +0000 (10:52 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoITS#8321 cleanup unused var
Howard Chu [Tue, 24 Nov 2015 20:21:51 +0000 (20:21 +0000)]
ITS#8321 cleanup unused var

from da67af1a4bf1a6d3f5d173d9daf74bb4ec66175a

8 years agoITS#8168, 8169
Howard Chu [Tue, 24 Nov 2015 16:08:53 +0000 (16:08 +0000)]
ITS#8168, 8169

8 years agoITS#8169 Allow passing mandir to make install
Heiko Becker [Thu, 11 Jun 2015 19:09:59 +0000 (21:09 +0200)]
ITS#8169 Allow passing mandir to make install

The motivation for this change is my distribution moving to a multiarch
layout. While the architecture specific stuff (binaries, libraries,
etc.) is installed under /usr/${host}/{bin,lib,...} architecture-independent
data should still be installed to /usr/share/.

8 years agoITS#8168 Allow passing AR to make
Heiko Becker [Thu, 11 Jun 2015 18:44:06 +0000 (20:44 +0200)]
ITS#8168 Allow passing AR to make

This is helpful when the ar executable is named differently, for
example with an arch specific prefix.

8 years agoITS#8323
Howard Chu [Tue, 24 Nov 2015 16:01:25 +0000 (16:01 +0000)]
ITS#8323

8 years agoITS#8321 fix ambiguity in cursor_put fixup
Howard Chu [Tue, 24 Nov 2015 15:09:49 +0000 (15:09 +0000)]
ITS#8321 fix ambiguity in cursor_put fixup

After delete/add of a node, other nodes may no longer be
pointing at the data they intended. This can confuse subsequent
fixups.

8 years agoCleanup C_DEL flag usage
Howard Chu [Tue, 24 Nov 2015 12:14:49 +0000 (12:14 +0000)]
Cleanup C_DEL flag usage

Only set it if the cursor's current position was deleted

8 years agoITS#8321 More cursor fixup
Howard Chu [Mon, 23 Nov 2015 16:58:57 +0000 (16:58 +0000)]
ITS#8321 More cursor fixup

Based on page_touch fixup from ITS#7594 but expanded:
make sure sub-cursors agree with main cursors.

8 years agoITS#8321 page_touch - don't fixup the cursor we just touched
Howard Chu [Mon, 23 Nov 2015 13:19:26 +0000 (13:19 +0000)]
ITS#8321 page_touch - don't fixup the cursor we just touched

8 years agoITS#8321 mdb_put cursor needs tracking too
Howard Chu [Tue, 24 Nov 2015 01:21:05 +0000 (01:21 +0000)]
ITS#8321 mdb_put cursor needs tracking too

8 years agoITS#8321 Fix mdb_cursor_set
Howard Chu [Mon, 23 Nov 2015 18:30:24 +0000 (18:30 +0000)]
ITS#8321 Fix mdb_cursor_set

Always reinit mc_pg[0] if cursor is not C_INITIALIZED
It might have a stale value when using nested txns

8 years agoITS#8321 deinit empty cursors
Howard Chu [Tue, 24 Nov 2015 12:54:46 +0000 (12:54 +0000)]
ITS#8321 deinit empty cursors

Always unset C_INIT flag if the cursor's target DB has been deleted

8 years agoITS#8323 Fix nested commit
Howard Chu [Mon, 23 Nov 2015 13:11:29 +0000 (13:11 +0000)]
ITS#8323 Fix nested commit

Must remove our spilled pages from parent's dirty list

8 years agoCURSOR_TMP_[UN]TRACK() -> WITH_CURSOR_TRACKING()
Hallvard Furuseth [Mon, 23 Nov 2015 12:03:09 +0000 (13:03 +0100)]
CURSOR_TMP_[UN]TRACK() -> WITH_CURSOR_TRACKING()

8 years agoITS#8319, 8320
Howard Chu [Mon, 23 Nov 2015 02:02:36 +0000 (02:02 +0000)]
ITS#8319, 8320

8 years agoITS#8320 mdb_load: fix loading data from simple text files
Orivej Desh [Sun, 22 Nov 2015 01:15:14 +0000 (01:15 +0000)]
ITS#8320 mdb_load: fix loading data from simple text files

mdb_load -T was supposed to read escaped text, but 21b51cb7 "Add mdb_load"
made it read hex.

8 years agoITS#8319 mdb_load: explain readline and mdb_cursor_put errors
Orivej Desh [Sun, 22 Nov 2015 00:59:55 +0000 (00:59 +0000)]
ITS#8319 mdb_load: explain readline and mdb_cursor_put errors

8 years agoITS#8316, 8321
Howard Chu [Mon, 23 Nov 2015 01:51:45 +0000 (01:51 +0000)]
ITS#8316, 8321

8 years agoITS#8321 reorganize page_split fixups
Howard Chu [Mon, 23 Nov 2015 01:34:26 +0000 (01:34 +0000)]
ITS#8321 reorganize page_split fixups

DUPFIXED fixups needed to occur after separator update.
MDB_RESERVE handling moved after split fixup.

8 years agoITS#8321 simplify page_split fixups
Howard Chu [Mon, 23 Nov 2015 01:33:00 +0000 (01:33 +0000)]
ITS#8321 simplify page_split fixups

8 years agoITS#8321 track temporary cursors
Howard Chu [Mon, 23 Nov 2015 01:30:02 +0000 (01:30 +0000)]
ITS#8321 track temporary cursors

In rebalance/split operations, temporary cursors need to be visible
to propagate fixups

8 years agoITS#8321 fix mdb_cursor_put
Howard Chu [Mon, 23 Nov 2015 01:16:36 +0000 (01:16 +0000)]
ITS#8321 fix mdb_cursor_put

Ignore sub-cursors that shouldn't be fixed up

8 years agoITS#8321 fix mdb_cursor_shadow()
Howard Chu [Mon, 23 Nov 2015 01:13:16 +0000 (01:13 +0000)]
ITS#8321 fix mdb_cursor_shadow()

Set a valid txn so that cursor fixup code works on the shadows

8 years agoITS#8321 fix mdb_cursor_chk()
Howard Chu [Mon, 23 Nov 2015 01:10:05 +0000 (01:10 +0000)]
ITS#8321 fix mdb_cursor_chk()

It was reporting spurious errors due to uninit'd cursors

8 years agoITS#8321 don't skip fixups on splitting cursors
Howard Chu [Mon, 23 Nov 2015 01:07:57 +0000 (01:07 +0000)]
ITS#8321 don't skip fixups on splitting cursors

Adjustments can't be skipped, in recursive calls each level must
fixup their own level.

8 years agoITS#8321 Fix del/dupsort
Howard Chu [Sun, 22 Nov 2015 22:11:30 +0000 (22:11 +0000)]
ITS#8321 Fix del/dupsort

When deleting a dupsort key, if other cursors pointed at that key,
set them to uninit'd, not EOF. They no longer have anything to
point at.

8 years agoITS#8300 more for prev commit
Howard Chu [Fri, 20 Nov 2015 13:34:11 +0000 (13:34 +0000)]
ITS#8300 more for prev commit

Just tell explicitly which direction we moved/merged from

8 years agoSilence some valgrind uninit warnings
Howard Chu [Fri, 20 Nov 2015 09:47:56 +0000 (09:47 +0000)]
Silence some valgrind uninit warnings

8 years agoRefix root split check from 5da67968afb599697d7557c13b65fb961ec408dd
Howard Chu [Fri, 20 Nov 2015 09:20:16 +0000 (09:20 +0000)]
Refix root split check from 5da67968afb599697d7557c13b65fb961ec408dd

8 years agoITS#7992 assume Windows paths are UTF-8
Oskari Timperi [Fri, 5 Dec 2014 10:56:22 +0000 (12:56 +0200)]
ITS#7992 assume Windows paths are UTF-8

8 years agoITS#8316 cursor fixup in page_merge
Howard Chu [Thu, 19 Nov 2015 20:04:16 +0000 (20:04 +0000)]
ITS#8316 cursor fixup in page_merge

Deleting the merged page requires bumping down other ki's
of the page's parent.

8 years agoITS#8312, 8313, 8315
Howard Chu [Thu, 19 Nov 2015 17:29:42 +0000 (17:29 +0000)]
ITS#8312, 8313, 8315

8 years agoITS#8315 fix ovpage_free
Howard Chu [Wed, 18 Nov 2015 23:38:34 +0000 (23:38 +0000)]
ITS#8315 fix ovpage_free

Keep dirty_room sync'd with dirty_list

8 years agoITS#8313 more for ITS#8062
Howard Chu [Wed, 18 Nov 2015 21:33:51 +0000 (21:33 +0000)]
ITS#8313 more for ITS#8062

dummy flags must be init'd due to 3d46d550

8 years agoITS#8312 Fix loose pages in commit(nested txn)
Hallvard Furuseth [Wed, 18 Nov 2015 15:30:24 +0000 (16:30 +0100)]
ITS#8312 Fix loose pages in commit(nested txn)

8 years agoITS#8311
Howard Chu [Wed, 18 Nov 2015 10:27:50 +0000 (10:27 +0000)]
ITS#8311

8 years agoITS#8311 add comment
Howard Chu [Wed, 18 Nov 2015 10:24:41 +0000 (10:24 +0000)]
ITS#8311 add comment

8 years agoITS#8311 fix page_split from update_key
Howard Chu [Wed, 18 Nov 2015 00:33:25 +0000 (00:33 +0000)]
ITS#8311 fix page_split from update_key

Check for top of stack. Usually the cursor only has height 1 when
calling page_split, but not always.

8 years agoITS#8295 more for prev commit
Howard Chu [Mon, 16 Nov 2015 13:36:20 +0000 (13:36 +0000)]
ITS#8295 more for prev commit

Silence warnings about struct timeval declaration

8 years agoITS#7209
Hallvard Furuseth [Tue, 17 Nov 2015 17:49:31 +0000 (18:49 +0100)]
ITS#7209

8 years agoITS#7209 Default MDB_DSYNC = O_SYNC if no O_DSYNC
Hallvard Furuseth [Tue, 17 Nov 2015 17:22:25 +0000 (18:22 +0100)]
ITS#7209 Default MDB_DSYNC = O_SYNC if no O_DSYNC

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Fri, 13 Nov 2015 16:08:58 +0000 (10:08 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoITS#8310
Howard Chu [Fri, 13 Nov 2015 09:28:36 +0000 (09:28 +0000)]
ITS#8310

8 years agoITS#8310 fix mdb_rebalance cursor fixup
Howard Chu [Fri, 13 Nov 2015 09:25:55 +0000 (09:25 +0000)]
ITS#8310 fix mdb_rebalance cursor fixup

When collapsing root, must adjust entire cursor stack

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 11 Nov 2015 16:25:03 +0000 (10:25 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoTweak robust mutex detection for glibc
Howard Chu [Wed, 11 Nov 2015 00:02:06 +0000 (00:02 +0000)]
Tweak robust mutex detection for glibc

8 years agoITS#8297
Quanah Gibson-Mount [Tue, 10 Nov 2015 22:00:27 +0000 (16:00 -0600)]
ITS#8297

8 years agoITS#8297 sleep before checking contextCSN values
Quanah Gibson-Mount [Tue, 10 Nov 2015 21:58:20 +0000 (15:58 -0600)]
ITS#8297 sleep before checking contextCSN values

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 9 Nov 2015 21:21:04 +0000 (15:21 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoITS#8304
Howard Chu [Mon, 9 Nov 2015 20:11:10 +0000 (20:11 +0000)]
ITS#8304

8 years agoITS#8304 fix page_merge
Howard Chu [Mon, 9 Nov 2015 20:09:10 +0000 (20:09 +0000)]
ITS#8304 fix page_merge

Was using the pre-touch dst page pointer instead of the touched page

8 years agoITS#8301
Quanah Gibson-Mount [Mon, 9 Nov 2015 01:15:00 +0000 (19:15 -0600)]
ITS#8301

8 years agoITS#8301 remove assert in ber_get_next
Howard Chu [Thu, 5 Nov 2015 12:11:21 +0000 (12:11 +0000)]
ITS#8301 remove assert in ber_get_next

Just return error.

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 9 Nov 2015 01:14:25 +0000 (19:14 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoITS#8300 more for node_move
Howard Chu [Fri, 6 Nov 2015 10:12:45 +0000 (10:12 +0000)]
ITS#8300 more for node_move

When moving a node from one page to another, make sure other cursors'
parent index gets adjusted too.

8 years agoITS#8300 simplify
Howard Chu [Wed, 4 Nov 2015 22:45:38 +0000 (22:45 +0000)]
ITS#8300 simplify

8 years agoITS#8300 more for node_move fixups
Howard Chu [Wed, 4 Nov 2015 22:31:01 +0000 (22:31 +0000)]
ITS#8300 more for node_move fixups

When moving a node from the right neighbor, a different
adjustment is needed.

8 years agoITS#8300
Howard Chu [Wed, 4 Nov 2015 21:03:22 +0000 (21:03 +0000)]
ITS#8300

8 years agoITS#8300 fix node_move
Howard Chu [Wed, 4 Nov 2015 21:01:30 +0000 (21:01 +0000)]
ITS#8300 fix node_move

Don't adjust other cursors when we added a node on the right.

8 years agoITS#8300 fix rebalance after node_move
Howard Chu [Wed, 4 Nov 2015 20:38:30 +0000 (20:38 +0000)]
ITS#8300 fix rebalance after node_move

ITS#8258, ITS#7829 fixes checked parent index to see if we were moving
from a left neighbor. Should have just checked to see if current index
was 0, meaning we added on the left. (Parent index may not tell us
anything meaningful after a nested rebalance.)

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 4 Nov 2015 18:29:09 +0000 (12:29 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoITS#8238, #8299
Howard Chu [Wed, 4 Nov 2015 18:17:50 +0000 (18:17 +0000)]
ITS#8238, #8299

8 years agoITS#8238 fix DUPFIXED page_split
Howard Chu [Wed, 4 Nov 2015 18:11:12 +0000 (18:11 +0000)]
ITS#8238 fix DUPFIXED page_split

Parent mc_ki wasn't adjusted if new_indx was > split point

8 years agoITS#8299 fix page_merge cursor fixup
Howard Chu [Wed, 4 Nov 2015 17:03:48 +0000 (17:03 +0000)]
ITS#8299 fix page_merge cursor fixup

The parent's mc_ki has changed. We need to fix that up as well
in other cursors.

8 years agoUse MDB_USE_ROBUST not MDB_NO_ROBUST
Howard Chu [Sat, 31 Oct 2015 02:27:31 +0000 (02:27 +0000)]
Use MDB_USE_ROBUST not MDB_NO_ROBUST

8 years agoAdd MDB_NO_ROBUST to disable Robust Mutexes
Howard Chu [Sat, 31 Oct 2015 02:11:47 +0000 (02:11 +0000)]
Add MDB_NO_ROBUST to disable Robust Mutexes

8 years agoITS#8294 more for prev commit
Howard Chu [Thu, 29 Oct 2015 20:31:36 +0000 (20:31 +0000)]
ITS#8294 more for prev commit

8 years agoITS#8294 avoid symbol clash with other crypto libs
Howard Chu [Thu, 29 Oct 2015 20:19:00 +0000 (20:19 +0000)]
ITS#8294 avoid symbol clash with other crypto libs

8 years agoITS#8294
Quanah Gibson-Mount [Thu, 29 Oct 2015 20:52:12 +0000 (15:52 -0500)]
ITS#8294

8 years agoITS#8295
Quanah Gibson-Mount [Wed, 28 Oct 2015 16:02:46 +0000 (11:02 -0500)]
ITS#8295

8 years agoITS#8295 fix Windows microsecond timer
Howard Chu [Wed, 28 Oct 2015 13:49:25 +0000 (13:49 +0000)]
ITS#8295 fix Windows microsecond timer

Also add ldap_pvt_gettimeofday() to
emulate gettimeofday on Windows

8 years agoITS#8292
Quanah Gibson-Mount [Tue, 27 Oct 2015 17:35:59 +0000 (12:35 -0500)]
ITS#8292

8 years agoITS#8292 Fix ldif-filter, drop workaround for bug
Hallvard Furuseth [Tue, 27 Oct 2015 11:29:22 +0000 (12:29 +0100)]
ITS#8292 Fix ldif-filter, drop workaround for bug

8 years agoITS#8289
Quanah Gibson-Mount [Tue, 27 Oct 2015 17:34:37 +0000 (12:34 -0500)]
ITS#8289

8 years agoITS#8289 fix mod Increment with inherited attr type
Howard Chu [Tue, 27 Oct 2015 03:41:17 +0000 (03:41 +0000)]
ITS#8289 fix mod Increment with inherited attr type

8 years agoITS#8216 fix ldif-filter invocation
Howard Chu [Tue, 27 Oct 2015 02:54:30 +0000 (02:54 +0000)]
ITS#8216 fix ldif-filter invocation

8 years agoITS#8216
Quanah Gibson-Mount [Mon, 26 Oct 2015 21:13:29 +0000 (16:13 -0500)]
ITS#8216

8 years agoITS#8216 Windows compat
Howard Chu [Mon, 26 Oct 2015 11:51:32 +0000 (11:51 +0000)]
ITS#8216 Windows compat

8 years agoITS#8284
Quanah Gibson-Mount [Mon, 26 Oct 2015 21:11:54 +0000 (16:11 -0500)]
ITS#8284

8 years agoITS#8284 olcRelay needs quotes
Howard Chu [Sun, 25 Oct 2015 08:19:03 +0000 (08:19 +0000)]
ITS#8284 olcRelay needs quotes

8 years agoITS#8281
Quanah Gibson-Mount [Mon, 26 Oct 2015 21:10:53 +0000 (16:10 -0500)]
ITS#8281

8 years agoCleanup
Howard Chu [Sat, 24 Oct 2015 05:48:41 +0000 (06:48 +0100)]
Cleanup

Log the same pointer in queue_csn as graduate_

8 years agoITS#8281 more for prev commit
Howard Chu [Sat, 24 Oct 2015 05:34:24 +0000 (06:34 +0100)]
ITS#8281 more for prev commit

8 years agoITS#8281 fix delta-mmr with interrupted refresh
Howard Chu [Fri, 23 Oct 2015 19:17:45 +0000 (20:17 +0100)]
ITS#8281 fix delta-mmr with interrupted refresh

Prevent spurious contextCSN generation
and ignore consumers when we have no contextCSN yet.
But make sure to propagate valid contextCSN updates to
accesslog/syncprov for delta consumers.

8 years agoITS#8280
Quanah Gibson-Mount [Mon, 26 Oct 2015 21:05:32 +0000 (16:05 -0500)]
ITS#8280

8 years agoITS#8280 Fix Windows EOL in test output
Howard Chu [Tue, 20 Oct 2015 23:46:01 +0000 (00:46 +0100)]
ITS#8280 Fix Windows EOL in test output

8 years agoITS#8277
Quanah Gibson-Mount [Mon, 26 Oct 2015 21:04:08 +0000 (16:04 -0500)]
ITS#8277

8 years agoITS#8277 simpler check for syncrepl on config DB
Howard Chu [Tue, 20 Oct 2015 20:27:21 +0000 (21:27 +0100)]
ITS#8277 simpler check for syncrepl on config DB

Windows mutexes are recursive so the trylock test will succeed
even though the mutex is already locked. Just compare be pointers.

8 years agomdb is the recommended backend to OpenLDAP
Quanah Gibson-Mount [Tue, 20 Oct 2015 16:20:26 +0000 (11:20 -0500)]
mdb is the recommended backend to OpenLDAP

8 years agoITS#8273
Quanah Gibson-Mount [Mon, 26 Oct 2015 21:02:25 +0000 (16:02 -0500)]
ITS#8273

8 years agoITS#8273 Windows file:// URL fixup
Howard Chu [Mon, 19 Oct 2015 07:52:28 +0000 (08:52 +0100)]
ITS#8273 Windows file:// URL fixup

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 26 Oct 2015 21:01:18 +0000 (16:01 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

8 years agoMore misc updates
Howard Chu [Mon, 26 Oct 2015 20:18:19 +0000 (20:18 +0000)]
More misc updates

8 years agoFix typo in mdb_tassert().
Hallvard Furuseth [Thu, 1 Oct 2015 17:43:58 +0000 (19:43 +0200)]
Fix typo in mdb_tassert().

No effect on current code.

8 years agoITS#8069 char* strings on Windows are ASCII
Pavel Medvedev [Wed, 19 Aug 2015 16:19:48 +0000 (17:19 +0100)]
ITS#8069 char* strings on Windows are ASCII

8 years agoITS#8067 add ssize_t typedef for MSVC
Pavel Medvedev [Wed, 19 Aug 2015 15:39:08 +0000 (16:39 +0100)]
ITS#8067 add ssize_t typedef for MSVC