]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
10 years agoITS#8342 MDB_VL32/WIN32 - close file mapping handle in env_close
Howard Chu [Mon, 28 Dec 2015 19:33:51 +0000 (19:33 +0000)] 
ITS#8342 MDB_VL32/WIN32 - close file mapping handle in env_close

10 years agoMDB_VL32 tweak prev commit
Howard Chu [Mon, 28 Dec 2015 19:37:42 +0000 (19:37 +0000)] 
MDB_VL32 tweak prev commit

10 years agoMDB_VL32 - prevent mixing with non-VL32 builds
Howard Chu [Wed, 23 Dec 2015 23:02:06 +0000 (23:02 +0000)] 
MDB_VL32 - prevent mixing with non-VL32 builds

10 years agoMDB_VL32 - Fix me_rpmutex usage
Howard Chu [Tue, 22 Dec 2015 20:24:26 +0000 (20:24 +0000)] 
MDB_VL32 - Fix me_rpmutex usage

10 years agoMDB_RESERVE doc
Howard Chu [Tue, 22 Dec 2015 18:30:41 +0000 (18:30 +0000)] 
MDB_RESERVE doc

Add mdb_put text to mdb_cursor_put description for people who
fail to draw logical conclusions.

10 years agoMDB_RESERVE doc
Howard Chu [Tue, 22 Dec 2015 18:30:41 +0000 (18:30 +0000)] 
MDB_RESERVE doc

Add mdb_put text to mdb_cursor_put description for people who
fail to draw logical conclusions.

10 years agoMDB_VL32 - fix prev commit
Howard Chu [Tue, 22 Dec 2015 06:13:25 +0000 (06:13 +0000)] 
MDB_VL32 - fix prev commit

Only tweak length for read-only envs

10 years agoMDB_VL32 - fix for Win32 read-only envs
Howard Chu [Tue, 22 Dec 2015 05:20:33 +0000 (05:20 +0000)] 
MDB_VL32 - fix for Win32 read-only envs

We can't map with MEM_RESERVE because that requires write access
to the underlying file/section. Mapping with the default (MEM_COMMIT)
requires that we don't map past the end of the file.

10 years agoMDB_VL32 - track overflow pages too
Howard Chu [Tue, 22 Dec 2015 04:22:01 +0000 (04:22 +0000)] 
MDB_VL32 - track overflow pages too

Otherwise they'll fill up the txn's pageref list when traversing
a DB with lots of overflow records.

10 years agomdb_page_alloc(): Use original snapshot of freeDB.
Hallvard Furuseth [Sun, 23 Aug 2015 20:00:14 +0000 (22:00 +0200)] 
mdb_page_alloc(): Use original snapshot of freeDB.

I can't help thinking this should be safer, and useful somewhere.

10 years agoPrep for next commit: C_WRITEMAP, C_ORIG_RDONLY.
Hallvard Furuseth [Sun, 23 Aug 2015 19:10:52 +0000 (21:10 +0200)] 
Prep for next commit: C_WRITEMAP, C_ORIG_RDONLY.

No change in behavior.

10 years agoPass cursor to mdb_page_get(), mdb_node_read().
Hallvard Furuseth [Sun, 23 Aug 2015 18:33:02 +0000 (20:33 +0200)] 
Pass cursor to mdb_page_get(), mdb_node_read().

No change in behavior.

10 years agoITS#8324 fix for WRITEMAP
Howard Chu [Mon, 21 Dec 2015 02:36:20 +0000 (02:36 +0000)] 
ITS#8324 fix for WRITEMAP

We called FlushViewOfFile with (map,mapsize) which worked fine
when we had allocated the entire map already. Now we have to make
sure to only flush as much as was actually written. Add a numpgs
argument to tell how much to flush in env_sync0().

10 years agoNote that we're prepping for 1.0
Howard Chu [Sun, 20 Dec 2015 00:22:13 +0000 (00:22 +0000)] 
Note that we're prepping for 1.0

10 years agoMDB_VL32 support 64 bit DBs on 32 bit processors
Howard Chu [Sat, 19 Dec 2015 23:58:39 +0000 (23:58 +0000)] 
MDB_VL32 support 64 bit DBs on 32 bit processors

10 years agoMDB_VL32 preparation
Howard Chu [Sat, 19 Dec 2015 23:51:31 +0000 (23:51 +0000)] 
MDB_VL32 preparation

Use 64 bit types consistently. This keeps database structures the
same size for MDB_VL32 and native 64 bit builds.

10 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sat, 19 Dec 2015 23:09:33 +0000 (23:09 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

10 years agoITS#7992 cleanup, new docs, mdb_dbi_open cleanup
Howard Chu [Sat, 19 Dec 2015 23:06:00 +0000 (23:06 +0000)] 
ITS#7992 cleanup, new docs, mdb_dbi_open cleanup

10 years agoAdd Getting Started doc
Howard Chu [Sat, 19 Dec 2015 22:53:26 +0000 (22:53 +0000)] 
Add Getting Started doc

10 years agoITS#7992 cleanup
Howard Chu [Tue, 15 Dec 2015 18:45:34 +0000 (18:45 +0000)] 
ITS#7992 cleanup

check for utf8_to_utf16 failures

10 years agomdb_dbi_open(): Catch strdup failure
Hallvard Furuseth [Sat, 12 Dec 2015 18:25:06 +0000 (19:25 +0100)] 
mdb_dbi_open(): Catch strdup failure

10 years agoFix typos
Howard Chu [Sat, 19 Dec 2015 22:57:00 +0000 (22:57 +0000)] 
Fix typos

10 years agoAdd Getting Started doc
Howard Chu [Sat, 19 Dec 2015 22:53:26 +0000 (22:53 +0000)] 
Add Getting Started doc

10 years agoITS#7992 cleanup
Howard Chu [Tue, 15 Dec 2015 18:45:34 +0000 (18:45 +0000)] 
ITS#7992 cleanup

check for utf8_to_utf16 failures

10 years agomdb_dbi_open(): Catch strdup failure
Hallvard Furuseth [Sat, 12 Dec 2015 18:25:06 +0000 (19:25 +0100)] 
mdb_dbi_open(): Catch strdup failure

10 years agoITS#8337 fix missing olcDbChecksum config attr
Howard Chu [Sat, 12 Dec 2015 16:14:02 +0000 (16:14 +0000)] 
ITS#8337 fix missing olcDbChecksum config attr

10 years agoITS#8324 fix for read-only envs
Howard Chu [Tue, 8 Dec 2015 19:35:59 +0000 (19:35 +0000)] 
ITS#8324 fix for read-only envs

10 years agoITS#8336 fix page_search_root assert on FreeDB
Howard Chu [Tue, 8 Dec 2015 18:17:24 +0000 (18:17 +0000)] 
ITS#8336 fix page_search_root assert on FreeDB

Let "illegal" branch pages thru on the FreeDB - the condition
is only temporary and will be fixed by the time rebalance finishes.

10 years agoITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item)
Hallvard Furuseth [Tue, 8 Dec 2015 15:43:55 +0000 (16:43 +0100)] 
ITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item)

10 years agoITS#8324 additional tweaks
Howard Chu [Sun, 6 Dec 2015 20:54:23 +0000 (20:54 +0000)] 
ITS#8324 additional tweaks

VirtualAlloc is only needed with WRITEMAP. Regular writes
already extend the mmap implictly.

10 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Thu, 3 Dec 2015 19:27:23 +0000 (19:27 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

10 years agoITS#8329 finish prev commit
Howard Chu [Thu, 3 Dec 2015 19:25:32 +0000 (19:25 +0000)] 
ITS#8329 finish prev commit

10 years agoITS#8329 Add the id_query config item.
Paul Terry [Thu, 3 Dec 2015 17:44:21 +0000 (17:44 +0000)] 
ITS#8329 Add the id_query config item.

10 years agoITS#8169, #8330
Howard Chu [Thu, 3 Dec 2015 19:14:11 +0000 (19:14 +0000)] 
ITS#8169, #8330

10 years agoITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11
Sebastien Launay [Thu, 3 Dec 2015 18:42:36 +0000 (10:42 -0800)] 
ITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11

pthread_mutexattr_setrobust and pthread_mutex_consistent are provided since 2.12 not 2.10:
https://sourceware.org/git/?p=glibc.git;a=commit;h=402cd98775db1478f64c9b0dbe00664b89eb2773
https://sourceware.org/git/?p=glibc.git;a=commit;h=78ee21859939ff75ccf8bbe00499b0c462df2e2d

10 years agoITS#8169 more Makefile tweaks
Howard Chu [Tue, 1 Dec 2015 13:48:29 +0000 (13:48 +0000)] 
ITS#8169 more Makefile tweaks

Fix prev commit, use all the same vars as main OpenLDAP makefiles

10 years agoReturn to releng
Howard Chu [Thu, 3 Dec 2015 19:08:00 +0000 (19:08 +0000)] 
Return to releng

10 years agoITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11
Sebastien Launay [Thu, 3 Dec 2015 18:42:36 +0000 (10:42 -0800)] 
ITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11

pthread_mutexattr_setrobust and pthread_mutex_consistent are provided since 2.12 not 2.10:
https://sourceware.org/git/?p=glibc.git;a=commit;h=402cd98775db1478f64c9b0dbe00664b89eb2773
https://sourceware.org/git/?p=glibc.git;a=commit;h=78ee21859939ff75ccf8bbe00499b0c462df2e2d

10 years agoITS#8327 fix ppolicy_get_default
Howard Chu [Thu, 3 Dec 2015 00:58:33 +0000 (00:58 +0000)] 
ITS#8327 fix ppolicy_get_default

pwdMaxRecordedFailure must never be zero

10 years agoITS#8169 more Makefile tweaks
Howard Chu [Tue, 1 Dec 2015 14:10:12 +0000 (14:10 +0000)] 
ITS#8169 more Makefile tweaks

Use all the same vars as main OpenLDAP makefiles

10 years agoITS#8169 more for prev patch
Howard Chu [Tue, 1 Dec 2015 13:48:29 +0000 (13:48 +0000)] 
ITS#8169 more for prev patch

Missed the mkdir command

10 years agoITS#8324 incremental DB file growth for Windows
Howard Chu [Mon, 30 Nov 2015 18:46:19 +0000 (18:46 +0000)] 
ITS#8324 incremental DB file growth for Windows

10 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 30 Nov 2015 16:56:37 +0000 (16:56 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

10 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

10 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 30 Nov 2015 12:51:14 +0000 (12:51 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

10 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

10 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

10 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 24 Nov 2015 16:10:48 +0000 (16:10 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

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

10 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/.

10 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/.

10 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.

10 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.

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

10 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.

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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()

10 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.

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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()

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

10 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.

10 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

10 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.

10 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

10 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 23 Nov 2015 01:52:30 +0000 (01:52 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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.

10 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.

10 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

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

10 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

10 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

10 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.

10 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.

10 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

10 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

10 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

10 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

10 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

10 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.

10 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.