From progr-d@yandex.ru Thu Nov 14 06:33:57 2019 From: progr-d@yandex.ru To: openldap-bugs@openldap.org Subject: Re: (ITS#9117) LMDB incorrect value for mapsize [Docs] Date: Thu, 14 Nov 2019 06:33:55 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7182834477613358212==" --===============7182834477613358212== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit --5dccf546_46e87ccd_19a8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline No, I mean that in the code it is 1MB, and in the documentation - 10MB. 14 =D0=BD=D0=BE=D1=8F=D0=B1. 2019 =D0=B3., 5:05 +0300, Howard Chu , =D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > progr-d=40yandex.ru wrote: > > =46ull=5FName: Denis > > Version: lmdb 0.9.24 > > OS: macOS > > URL: ftp://ftp.openldap.org/incoming/ > > Submission from: (NULL) (80.211.15.98) > > > > > > Incorrect value in documentation or code for DE=46AULT=5FMAPSIZE: in = code is > > 1048576, but in doc: 10485760. > > > > Code: http://www.lmdb.tech/doc/group=5F=5Finternal.html=23ga506f89351= 9db205966f7988c03c920f5 > > Doc (see method description):=C2=A0http://www.lmdb.tech/doc/group=5F=5F= mdb.html=23gaa2506ec8dab3d969b0e609cd82e619e5 > > Yes, this is known. The point is to force you to explicitly set a sane = value, therefore this > will never be changed. > > -- > -- Howard Chu > CTO, Symas Corp. http://www.symas.com > Director, Highland Sun http://highlandsun.com/hyc/ > Chief Architect, OpenLDAP http://www.openldap.org/project/ --5dccf546_46e87ccd_19a8 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
No, I mean that in the code it is 1MB, and in the d= ocumentation - 10MB.
14 =D0=BD=D0=BE=D1=8F=D0=B1. 2019 =D0= =B3., 5:05 +0300, Howard Chu <hyc=40symas.com>, =D0=BF=D0=B8=D1=81=D0= =B0=D0=BB:
pr= ogr-d=40yandex.ru wrote:
=46= ull=5FName: Denis
Version: lmdb 0.9.24
OS: macOS
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (80.211.15.98)


Incorrect value in documentation or code for DE=46AULT=5FMAPSIZE: in code= is
1048576, but in doc: 10485760.

Code: http://www.lmdb.tech/doc/group=5F=5Finternal.html=23ga506f893519db2= 05966f7988c03c920f5
Doc (see method description):&=23160;http://www.lmdb.tech/doc/group=5F=5F= mdb.html=23gaa2506ec8dab3d969b0e609cd82e619e5

Yes, this is known. The point is to force you to explicitly set a sane va= lue, therefore this
will never be changed.

--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
--5dccf546_46e87ccd_19a8-- --===============7182834477613358212==--