[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7844) LMDB Delete Cursor inconsistencies



--53767cd5_238e1f29_1704c
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I checked on gitorious only hours previously and fca18d2 was the latest v=
ersion.
However, I now see=C2=A02764360. I=E2=80=99ve updated to the latest versi=
on and can no longer
reproduce the issue.

Thanks=21

Best Regards,
Armon Dadgar

=46rom:=C2=A0Howard Chu hyc=40symas.com
Reply:=C2=A0Howard Chu hyc=40symas.com
Date:=C2=A0May 16, 2014 at 1:54:18 PM
To:=C2=A0Armon Dadgar armon.dadgar=40gmail.com, openldap-its=40openldap.o=
rg openldap-its=40openldap.org
Subject:=C2=A0 Re: (ITS=237844) LMDB Delete Cursor inconsistencies =20

Armon Dadgar wrote: =20
> When I run the attached test case on my machine, I=E2=80=99m hitting th=
e failing case. =20
> =20
> Here is the test output: https://gist.github.com/armon/e529d7909fe30112=
6fc6 =20

You seem to be running obsolete code. I checked your gomdb github repo, y=
ou're =20
using mdb.c at rev fca18d2. Current mdb.master is 4844a72. =20

> My steps: =20
> =24 clang 7844.c mdb.c midl.c =20
> =24 mkdir testdb =20
> =24 ./a.out =20
> =20
> =24 clang -v =20
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) =20
> Target: x86=5F64-apple-darwin13.1.0 =20
> Thread model: posix =20
> =20
> =24 uname -a =20
> Darwin Armons-MacBook-Air.local 13.1.0 Darwin Kernel Version 13.1.0: Th=
u Jan =20
> 16 19:40:37 PST 2014; root:xnu-2422.90.20=7E2/RELEASE=5FX86=5F64 x86=5F=
64 =20
> =20
> Best Regards, =20
> Armon Dadgar =20
> =20
> =46rom: Howard Chu hyc=40symas.com <mailto:hyc=40symas.com> =20
> Reply: Howard Chu hyc=40symas.com <mailto:hyc=40symas.com> =20
> Date: May 16, 2014 at 11:06:49 AM =20
> To: armon.dadgar=40gmail.com armon.dadgar=40gmail.com =20
> <mailto:armon.dadgar=40gmail.com>, openldap-its=40openldap.org =20
> openldap-its=40openldap.org <mailto:openldap-its=40openldap.org> =20
> Subject: Re: (ITS=237844) LMDB Delete Cursor inconsistencies =20
> =20
>> armon.dadgar=40gmail.com wrote: =20
>> > --5372ac85=5F8edbdab=5F1271 =20
>> > Content-Type: text/plain; charset=3D=22utf-8=22 =20
>> > Content-Transfer-Encoding: quoted-printable =20
>> > Content-Disposition: inline =20
>> > =20
>> > =3D46or now, we have application code to retry the delete until no f=
urther =3D =20
>> > rows are removed. =20
>> > Still, it would be nice to have this resolved (and tested) in master=
=3D21 =20
>> =20
>> Unable to reproduce the issue. I've attached my test program based on =
your =20
>> description. =20
>> =20
>> -- =20
>> -- Howard Chu =20
>> CTO, Symas Corp. http://www.symas.com =20
>> Director, Highland Sun http://highlandsun.com/hyc/ =20
>> Chief Architect, OpenLDAP http://www.openldap.org/project/ =20
>> ----------------------------------------------------------------------=
-------- =20


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

--53767cd5_238e1f29_1704c
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>I checked on gitorious=
 only hours previously and fca18d2 was the latest version.</div><div id=3D=
=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size=
:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22>However=
, I now see&nbsp;2764360. I=E2=80=99ve updated to the latest version and =
can no longer</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-fam=
ily:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; =
line-height: auto;=22>reproduce the issue.</div><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22><br></div><div id=3D=22=
bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13=
px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22>Thanks=21<=
/div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,=
Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: a=
uto;=22><br></div> <div id=3D=22bloop=5Fsign=5F1400274014470972928=22 cla=
ss=3D=22bloop=5Fsign=22><div style=3D=22font-family:helvetica,arial;font-=
size:13px=22>Best Regards,</div><div style=3D=22font-family:helvetica,ari=
al;font-size:13px=22>Armon Dadgar<br></div></div> <div style=3D=22color:b=
lack=22><br>=46rom:&nbsp;<span style=3D=22color:black=22>Howard Chu</span=
> <a href=3D=22mailto:hyc=40symas.com=22>hyc=40symas.com</a><br>Reply:&nb=
sp;<span style=3D=22color:black=22>Howard Chu</span> <a href=3D=22mailto:=
hyc=40symas.com=22>hyc=40symas.com</a><br>Date:&nbsp;<span style=3D=22col=
or:black=22>May 16, 2014 at 1:54:18 PM</span><br>To:&nbsp;<span style=3D=22=
color:black=22>Armon Dadgar</span> <a href=3D=22mailto:armon.dadgar=40gma=
il.com=22>armon.dadgar=40gmail.com</a>, <span style=3D=22color:black=22>o=
penldap-its=40openldap.org</span> <a href=3D=22mailto:openldap-its=40open=
ldap.org=22>openldap-its=40openldap.org</a><br>Subject:&nbsp;<span style=3D=
=22color:black=22> Re: (ITS=237844) LMDB Delete Cursor inconsistencies <b=
r></span></div><br> <blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22=
><span><div><div></div><div>Armon Dadgar wrote:
<br>&gt; When I run the attached test case on my machine, I=E2=80=99m hit=
ting the failing case.
<br>&gt;
<br>&gt; Here is the test output: https://gist.github.com/armon/e529d7909=
fe301126fc6
<br>
<br>You seem to be running obsolete code. I checked your gomdb github rep=
o, you're =20
<br>using mdb.c at rev fca18d2. Current mdb.master is 4844a72.
<br>
<br>&gt; My steps:
<br>&gt; =24 clang 7844.c mdb.c midl.c
<br>&gt; =24 mkdir testdb
<br>&gt; =24 ./a.out
<br>&gt;
<br>&gt; =24 clang -v
<br>&gt; Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
<br>&gt; Target: x86=5F64-apple-darwin13.1.0
<br>&gt; Thread model: posix
<br>&gt;
<br>&gt; =24 uname -a
<br>&gt; Darwin Armons-MacBook-Air.local 13.1.0 Darwin Kernel Version 13.=
1.0: Thu Jan
<br>&gt; 16 19:40:37 PST 2014; root:xnu-2422.90.20=7E2/RELEASE=5FX86=5F64=
 x86=5F64
<br>&gt;
<br>&gt; Best Regards,
<br>&gt; Armon Dadgar
<br>&gt;
<br>&gt; =46rom: Howard Chu hyc=40symas.com &lt;mailto:hyc=40symas.com&gt=
;
<br>&gt; Reply: Howard Chu hyc=40symas.com &lt;mailto:hyc=40symas.com&gt;=

<br>&gt; Date: May 16, 2014 at 11:06:49 AM
<br>&gt; To: armon.dadgar=40gmail.com armon.dadgar=40gmail.com
<br>&gt; &lt;mailto:armon.dadgar=40gmail.com&gt;, openldap-its=40openldap=
.org
<br>&gt; openldap-its=40openldap.org &lt;mailto:openldap-its=40openldap.o=
rg&gt;
<br>&gt; Subject: Re: (ITS=237844) LMDB Delete Cursor inconsistencies
<br>&gt;
<br>&gt;&gt; armon.dadgar=40gmail.com wrote:
<br>&gt;&gt; &gt; --5372ac85=5F8edbdab=5F1271
<br>&gt;&gt; &gt; Content-Type: text/plain; charset=3D=22utf-8=22
<br>&gt;&gt; &gt; Content-Transfer-Encoding: quoted-printable
<br>&gt;&gt; &gt; Content-Disposition: inline
<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt; =3D46or now, we have application code to retry the dele=
te until no further =3D
<br>&gt;&gt; &gt; rows are removed.
<br>&gt;&gt; &gt; Still, it would be nice to have this resolved (and test=
ed) in master=3D21
<br>&gt;&gt;
<br>&gt;&gt; Unable to reproduce the issue. I've attached my test program=
 based on your
<br>&gt;&gt; description.
<br>&gt;&gt;
<br>&gt;&gt; --
<br>&gt;&gt; -- Howard Chu
<br>&gt;&gt; CTO, Symas Corp. http://www.symas.com
<br>&gt;&gt; Director, Highland Sun http://highlandsun.com/hyc/
<br>&gt;&gt; Chief Architect, OpenLDAP http://www.openldap.org/project/
<br>&gt;&gt; ------------------------------------------------------------=
------------------
<br>
<br>
<br>-- =20
<br>   -- Howard Chu
<br>   CTO, Symas Corp.           http://www.symas.com
<br>   Director, Highland Sun     http://highlandsun.com/hyc/
<br>   Chief Architect, OpenLDAP  http://www.openldap.org/project/
<br></div></div></span></blockquote></body></html>
--53767cd5_238e1f29_1704c--