(ITS#8324) LMDB - grow file incrementally on Windows
by hyc@openldap.org
Full_Name: Howard Chu
Version: LMDB 0.9.17
OS: Win32 x64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.236.172)
Submitted by: hyc
Currently LMDB uses the WIN32 API to setup the memory-mapped DB file, which
requires that the file size is equal to the map size. If we use the native NT
API instead it's possible to grow the file incrementally, which will reduce the
number of complaints we get from Windows users who think their disk space is
getting eaten up for no reason.
There is probably a performance reduction from taking this approach, but I
haven't benchmarked it and have no plans to. I frankly don't care and no one is
paying me to care.
7 years, 6 months
(ITS#8323) LMDB nested txn bugs
by hyc@openldap.org
Full_Name: Howard Chu
Version: LMDB 0.9.16
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.230.13)
Submitted by: hyc
When committing a child transaction, the merge of the child's dirty pages must
remove the child's spilled pages from the merge.
7 years, 6 months
(ITS#8322) mdb_env_set_mapsize default size mismatch
by bernard@zeroc.com
Full_Name: Bernard Normier
Version: lmdb latest
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (50.241.237.165)
lmdb.h, used by Doxygen, documents a default size of 10MB:
> * The size should be a multiple of the OS page size. The default is
> * 10485760 bytes. The size of the memory map is also the maximum size
while mdb.c uses a default size of 1MB:
> #define DEFAULT_MAPSIZE 1048576
7 years, 6 months
(ITS#8321) LMDB cursor fixup bugs
by hyc@openldap.org
Full_Name: Howard Chu
Version: 2.4.42
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.230.13)
Submitted by: hyc
Multiple bugs were fixed in the cursor fixups which adjust other open cursors in
response to various write ops. Patches will be merged shortly.
7 years, 6 months
Re: (ITS#8291) ./run -b hdb test007 fails
by ondra@mistotebe.net
On Tue, Oct 27, 2015 at 09:50:10AM +0000, michael(a)stroeder.com wrote:
> Strange: testrun/test.out has zero bytes. :-/
> But the DB files are created.
>
> Other tests with -b hdb seem to work ok.
> Maybe it's just the test script?
I've let slapmodify honour logging settings in branch ITS8291 at
https://github.com/mistotebe/openldap, could you paste the output of
test.out with that enabled and possibly loglevel set to -1?
Thanks,
Ondrej
7 years, 6 months