Leo Yuriev
96d69e3fa1
lmdb: added mdb_env_open_ex() and exclusive/monopoly mode for mdb_chk.
...
Change-Id: I867e7f17924ffecb744440e95db96c0a7411d6ef
2015-08-13 18:30:02 +03:00
Leo Yuriev
a243a38aa6
lmdb: adding page-space usage info to mdb_chk.
...
Change-Id: I12dcdb54894a362d41612e973f983cb4e067520c
2015-08-05 22:59:18 +03:00
Leo Yuriev
c32cf0fea4
lmdb, back-mdb: use 'long' as result to speedup comparison.
...
Change-Id: I3ade0c7525f4a461a7edf5873af196e6b33c0727
2015-08-05 14:35:09 +03:00
Howard Chu
b980ff72cb
lmdb: 0.9.16, updated CHANGES for ITS#8181, #8190 , #8200 .
...
Change-Id: I87a1a3136ea6dcdd322ab24ec1df9391aa4280b8
2015-08-04 13:57:14 +03:00
Hallvard Furuseth
342d56977f
lmdb: Catch most uses of finished/parent txns.
...
* Add MDB_TXN_FINISHED, MDB_TXN_HAS_CHILD, MDB_TXN_BLOCKED.
* Clear mt_numdbs in writers, for TXN_DBI_EXIST() to catch.
We already do in readers.
Change-Id: I4f714c0789188dfab4ce22b7d9d3a75d8b62ef6b
2015-08-04 13:57:14 +03:00
Hallvard Furuseth
be27186f76
lmdb: ITS#8181 Verify that records are/aren't DBs.
...
Except we don't catch the user passing F_SUBDATA to
mdb_cursor_<put/del>, like an internal LMDB call.
Change-Id: I5ebce36694045279702c74490a5a634217d4f95d
2015-08-04 13:57:13 +03:00
Leo Yuriev
295beda00c
lmdb: fix ABI compatibility with original liblmdb.so
...
Change-Id: I770a49b7a506f3f2a21ea3af36fd07c16a32dc30
2015-06-04 19:12:14 +03:00
Hallvard Furuseth
001f89d4af
lmdb: Clarify mdb_env_open() doc of 'mode' param.
...
Change-Id: Ia156bdd14f80c25b0d0cf44f9ab8a0fd270a4bb7
2015-06-03 02:12:58 +03:00
Hallvard Furuseth
476c5b02ea
lmdb: ITS#8117 Fix MDB_INTEGERDUP keysize doc.
...
Change-Id: I7cf7c456f35fe9c5449a37ad9130864617197726
2015-05-21 21:40:39 +03:00
Leo Yuriev
104312d15e
lmdb: update mdb_chk for checkpoints, minor cosmetics.
...
This is 9/9 for https://github.com/ReOpen/ReOpenLDAP/issues/1
and https://github.com/ReOpen/ReOpenLDAP/issues/2
Change-Id: I05f59313b4346c08bcd63d62e6c48a5f53c47852
2015-05-21 21:40:39 +03:00
Leo Yuriev
312135169f
lmdb: weak/steady for meta-pages.
...
This is 5/9 for https://github.com/ReOpen/ReOpenLDAP/issues/1
and https://github.com/ReOpen/ReOpenLDAP/issues/2
Change-Id: Ica2dbe0bfd6ba58c00de161e2cd50594ee39c44d
2015-05-21 21:40:39 +03:00
Leo Yuriev
1c37139b2a
lmdb: drops no-lock operation mode (now MDB_NOLOCK is UNSUPPORTED).
...
This is 3/9 for https://github.com/ReOpen/ReOpenLDAP/issues/1
and https://github.com/ReOpen/ReOpenLDAP/issues/2
Change-Id: I7cd5d90c41424d6635accbb10c5801adeb1087e9
2015-05-21 20:23:12 +03:00
Leo Yuriev
c5db4043ee
lmdb: prepare to bigbang (separated minor changes).
...
This is 1/9 for https://github.com/ReOpen/ReOpenLDAP/issues/1
and https://github.com/ReOpen/ReOpenLDAP/issues/2
Change-Id: I3ba943b2e4597f3e796376a5a54851aa411b1aa1
2015-05-21 18:05:00 +03:00
Leo Yuriev
da5e3d5133
lmdb: fix test#6 and run it by 'make test'.
...
Change-Id: I3a5bb363368f46576a5acaf332f9fd7feb46a3e5
2015-05-15 02:24:53 +03:00
Leo Yuriev
f2703156f0
lmdb: mdb: b-tree walk, page-map check in mdb_chk.
...
Change-Id: I6678b4d891c8fbfbc49ed600212f4ade39e25282
2015-05-08 15:49:33 +03:00
Leo Yuriev
4a04e59dba
lmdb: refork debug.
...
Change-Id: I47d3e300b47fcba5600644ff28c68a900640c39c
2015-05-08 03:45:30 +03:00
Leo Yuriev
59d6560fc3
lmdb: cleanup Windows support.
...
Change-Id: I7bc7f3e997eeea4c5678a97e2faf10525ba7eee6
2015-05-04 03:48:22 +03:00
Hallvard Furuseth
9752e58a14
lmdb: Fix EACCES description.
...
Change-Id: Idf5ead68fbac40dd9f944d6ccd86b24f9b4d4a8a
2015-04-19 23:36:21 +03:00
Hallvard Furuseth
2ce1fcbb8f
lmdb: Reformat mdb_dbi_open() doc for clarity.
...
Change-Id: I12a9f9b88a565261d6e5dfdfb7089a4bf50210da
2015-04-14 22:13:42 +03:00
Quanah Gibson-Mount
3766484c9e
all: 2015 copyright timestamp (from OpenLDAP).
...
Change-Id: I76f457e30a0478bfc0246c760a2302d380d6f181
2015-02-18 16:04:11 +03:00
Hallvard Furuseth
62181cfe87
lmdb: Reject CHANGELESS flags in mdb_env_set_flags().
...
Reverts part of a2ac10107e2fb845c4a38a339239063ec4407d84.
MDB_ROBUST needed to be accepted, but that flag is gone.
Change-Id: I2aba1e9e02da716d4509e465767bf8be05895c29
2015-01-16 01:26:50 +03:00
Hallvard Furuseth
eb885ab910
lmdb: Make SysV semaphores robust. Cleanup MDB_ROBUST.
...
Backport from master: 66e3f5139105822196aea6a6e63596d25734222a.
Change-Id: Idda165be19ee95c2a0839a180a2ece395502ce26
2015-01-16 01:26:49 +03:00
Hallvard Furuseth
8375bb0c8d
lmdb: ITS#8021 doc - Don't mix MDB_WRITEMAP + non-WRITEMAP.
...
Change-Id: I99916dbac14cece91154977f2eaecd1604198806
2015-01-16 01:26:49 +03:00
Howard Chu
13b144dc5d
ITS#8021 env_sync is invalid in RDONLY env
...
Change-Id: I2c9c8bcf4b28ea002cb5e4caa117396a82289924
2015-01-16 00:25:18 +03:00
Leo Yuriev
f00d2cdef6
lmdb: MDB_LIFORECLAIM & MDB_COALESCE modes.
...
Reclaim FreeDB in LIFO order - this is a main feature.
Also aim to coalesce small FreeDFB records.
Change-Id: I76aa062ef59359616e5b697233ec47cbd14f43cd
2015-01-15 23:19:52 +03:00
Leo Yuriev
9eedc88441
lmdb: ITS#7974 oom-handler feature.
...
Change-Id: I2c56e003fa1e4abe934288581e4c52c80db27c08
2015-01-15 23:19:52 +03:00
Leo Yuriev
fcfe2b7042
lmdb: auto-sync with kbytes threshold (aka checkpoint by kbytes).
...
Change-Id: If29a3d70e775a65d832f578f0c3edd3ea41dcc67
2015-01-15 23:19:52 +03:00
Leo Yuriev
2df38ad58b
lmdb: ITS#7974 get a lag of the reading for dreamcatcher.
...
Change-Id: I7fc93ce4fa851904521a58a225f04c65eca2d998
2015-01-15 23:19:51 +03:00
Leo Yuriev
7984f8817f
lmdb: more usefull info from mdb_stat tool.
...
Change-Id: I64015952431aebabf792b912acd022a6ddc79903
2015-01-15 23:19:51 +03:00
Leo Yuriev
83055127c1
OpenLDAP mdb.master at 985bbbbdd5d64e57f55249ffdeb7c08035b240b2 (2015-01-01).
2015-01-07 18:12:57 +03:00