Hallvard Furuseth
cc2a50aca2
mdb_drop0(): Omit scanning DUPSORT sub-DB leaves
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
70788bfe45
Use mdb_cmp_long() for FREE_DBI
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
a36f7a7fc2
mdb_env_get_flags(): Hide internal flags
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
600e2b6ce0
Support robust mutexes/locks. Add mdb_mutex_t etc.
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
3a71450436
Add MDB_USE_POSIX_MUTEX.
...
So far just to help aligning mdb.master and mdb.RE.
We'll make it an option later.
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
f25c4f0db9
Whitespace (align with mdb.master)
2015-10-25 10:55:21 +01:00
leo@yuriev.ru
086bc04cd2
ITS#7969 Use __sync_synchronize()
...
The rest of 9a80a8a8e8
plus commit a937740aa0
.
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
3f6fa7aece
Set/clear mp_pad, md_pad (MDB_DUPFIXED data size).
...
mdb_xcursor_init1(): md_pad is only used when MDB_DUPFIXED.
mdb_page_split(): Copy mp_pad too. Used by mdb_page_list().
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
c616689d9a
Cleanup MDB_env.me_txn0.
...
More fallout from 4d02c741b1
.
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
c0170bc0ec
Copy some env flags to txn. Factor out flags.
...
Taken from mdb_txn_begin(,,MDB_NOMETASYNC, MDB_NOSYNC,,)
without adding those two flags yet, to align with mdb.master:
Part of 54516639ac
(Renumber...)
+ 8adee9464f
(Fix per-txn...).
2015-10-25 10:55:21 +01:00
leo@yuriev.ru
c65ca298b9
ITS#7971 mdb_txn_renew0(): Fix new readers slots.
...
commit 9a8eb95674
(mdb_txn_renew0)
plus b2ab9910dd
(reader allocation)
from mdb.master.
2015-10-25 10:55:21 +01:00
David Barbour
076b773d6b
ITS#7994 Access to current transaction ID.
...
commit b660491d3f
(mdb_txn_id())
plus c36c167cc4
(fix prev commit)
from mdb.master.
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
f3d3f60e3d
Try to avoid an invalid datafile after failed init
2015-10-25 10:55:21 +01:00
Hallvard Furuseth
aa10c98f3f
For ITS#7789: Ensure mapsize >= pages in use.
...
Check new mapsizes against mm_last_pg. Move
mdb_env_init_meta0() so it can set mm_last_pg earlier.
2015-10-25 10:55:21 +01:00
HAMANO Tsukasa
c05c9619a6
ITS#8114 LDAP MODIFY handling
2015-10-25 09:13:27 +00:00
HAMANO Tsukasa
30f80a005d
ITS#8114 suppress warn message
2015-10-25 09:12:02 +00:00
Ondřej Kuzník
d94a07271d
ITS#8215 Make slapmodify test failures fatal
2015-10-25 09:05:02 +00:00
Ondřej Kuzník
cd9980c48b
ITS#8215 Add config tool delete support
2015-10-25 09:04:40 +00:00
Ondřej Kuzník
085eb2e8df
ITS#8215 Add mdb tool delete support
2015-10-25 09:04:21 +00:00
Ondřej Kuzník
f3e8aa5849
ITS#8215 Add bdb tool delete support
2015-10-25 09:04:00 +00:00
Ondřej Kuzník
8b8890bddc
ITS#8215 Change BI_tool_entry_delete signature
2015-10-25 09:02:59 +00:00
Ondřej Kuzník
6f1544c51e
ITS#8215 Make editing of invalid entries possible
...
If the database does not conform to any known schema, make it possible
to edit such a database using slapmodify when schema-checking is
disabled.
2015-10-25 09:02:39 +00:00
Ondřej Kuzník
5a6a93035d
ITS#8215 Do not crash on an empty entry
2015-10-25 09:02:06 +00:00
Ondřej Kuzník
b47f32f6f2
ITS#8215 Remove a memory leak
2015-10-25 09:01:46 +00:00
Ondřej Kuzník
f1cd76db75
ITS#8215 Use the correct transaction
2015-10-25 09:01:22 +00:00
Ondřej Kuzník
f0f366ef5b
ITS#8215 Add slapmodify manpage
2015-10-25 09:00:25 +00:00
Ondřej Kuzník
7a25c7be23
ITS#8215 Manpage fixes
2015-10-25 09:00:01 +00:00
Howard Chu
a39e3a0712
ITS#8284 olcRelay needs quotes
2015-10-25 08:19:03 +00:00
Howard Chu
015e8675fd
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2015-10-25 08:14:55 +00:00
Howard Chu
fc3514152f
ITS#8263, 8264, 7771, 8270
2015-10-25 08:13:25 +00:00
Ignacio Casal Quinteiro
52446f93e7
ITS#8270 win32: fix conversion error with MSVC
2015-10-25 08:10:34 +00:00
Howard Chu
24add6589b
ITS#7771 fix cursor tracking on fake pages
...
node_del shifts nodes around, cursors pointing at fake pages
need to have their mc_pg[0] corrected.
2015-10-25 08:10:13 +00:00
Hallvard Furuseth
448b4c815a
ITS#8263 streamline prev patch
2015-10-25 08:09:16 +00:00
Howard Chu
7e3c532823
ITS#8263 fix cursor tracking in cursor_put
2015-10-25 08:09:06 +00:00
Howard Chu
9ed1e57440
ITS#8264 fix cursor_del cursor tracking
...
Some destination fixups need to happen immediately after nodes
are moved, before rebalancing
2015-10-25 08:08:53 +00:00
Howard Chu
e635a53ff0
Cleanup
...
Log the same pointer in queue_csn as graduate_
2015-10-24 06:48:41 +01:00
Howard Chu
71c907fb88
ITS#8281 more for prev commit
2015-10-24 06:34:24 +01:00
Howard Chu
cd8ff37629
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.
2015-10-24 06:06:49 +01:00
Howard Chu
634ccc758d
ITS#8280 Fix Windows EOL in test output
2015-10-21 00:46:01 +01:00
Howard Chu
ad93b9e652
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.
2015-10-20 21:30:00 +01:00
Quanah Gibson-Mount
c55d829aca
mdb is the recommended backend to OpenLDAP
2015-10-20 11:20:26 -05:00
Howard Chu
28a02271f0
ITS#8273 Windows file:// URL fixup
2015-10-19 08:52:28 +01:00
Howard Chu
6f53771687
ITS#8258
2015-10-04 03:02:04 +01:00
Howard Chu
b6974ccd9f
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2015-10-04 02:50:50 +01:00
Howard Chu
8bdadf68c5
ITS#8258 fix rebalance/split
...
The tree height can also increase during rebalance, not just shrink.
This can happen if update_key needs to split a parent branch page.
2015-10-04 02:13:07 +01:00
Howard Chu
db3175eaba
ITS#8262 more
...
extended ops
2015-10-02 05:14:53 +01:00
Howard Chu
34ccd14f3e
ITS#8262 add ldap_build_*_req functions
...
Basic ops except abandon and unbind; since they get no reply
it's not important for the caller to know their msgID.
2015-10-02 05:02:15 +01:00
Howard Chu
756a6b8683
ITS#8261 change sl_mem_detach to sl_mem_setctx
2015-10-01 23:55:10 +01:00
Howard Chu
eccea851ff
ITS#8259 fix usage ordering
2015-09-30 18:11:49 +01:00
Howard Chu
94d6581b50
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2015-09-29 18:16:11 +01:00