--537675cf_2ae8944a_1704c Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
When I run the attached test case on my machine, I=E2=80=99m hitting the = failing case.
Here is the test output:=C2=A0https://gist.github.com/armon/e529d7909fe30= 1126fc6
My steps: =24 clang 7844.c mdb.c midl.c =24 mkdir testdb =24 ./a.out
=24 clang -v Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86=5F64-apple-darwin13.1.0 Thread model: posix
=24 uname -a Darwin Armons-MacBook-Air.local 13.1.0 Darwin Kernel Version 13.1.0: Thu = Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20=7E2/RELEASE=5FX86=5F64 x86=5F= 64
Best Regards, Armon Dadgar
=46rom:=C2=A0Howard Chu hyc=40symas.com Reply:=C2=A0Howard Chu hyc=40symas.com Date:=C2=A0May 16, 2014 at 11:06:49 AM To:=C2=A0armon.dadgar=40gmail.com armon.dadgar=40gmail.com, openldap-its=40= openldap.org openldap-its=40openldap.org Subject:=C2=A0 Re: (ITS=237844) LMDB Delete Cursor inconsistencies =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 furt=
her =3D =20
rows are removed. =20 Still, it would be nice to have this resolved (and tested) in master=3D=
21 =20
Unable to reproduce the issue. I've attached my test program based on you= r =20 description. =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
--537675cf_2ae8944a_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>When I run the attache= d test case on my machine, I=E2=80=99m hitting the failing case.</div><di= v id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;fo= nt-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22>= <br></div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helve= tica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-heig= ht: auto;=22>Here is the test output: https://gist.github.com/armon/= e529d7909fe301126fc6</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22f= ont-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin= : 0px; line-height: auto;=22><br></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>My steps:</div><div id=3D=22blo= op=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px;= color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22>=24 clang 784= 4.c mdb.c midl.c</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-= family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0p= x; line-height: auto;=22>=24 mkdir testdb</div><div id=3D=22bloop=5Fcusto= mfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: rg= ba(0,0,0,1.0); margin: 0px; line-height: auto;=22>=24 ./a.out</div><div i= d=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><br=
</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetic=
a,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height:= auto;=22><div id=3D=22bloop=5Fcustomfont=22 style=3D=22margin: 0px;=22>=24= clang -v</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22margin: 0px;= =22>Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)</div><= div id=3D=22bloop=5Fcustomfont=22 style=3D=22margin: 0px;=22>Target: x86=5F= 64-apple-darwin13.1.0</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22= margin: 0px;=22>Thread model: posix</div><div id=3D=22bloop=5Fcustomfont=22= style=3D=22margin: 0px;=22><br></div><div id=3D=22bloop=5Fcustomfont=22 = style=3D=22margin: 0px;=22><div id=3D=22bloop=5Fcustomfont=22 style=3D=22= margin: 0px;=22>=24 uname -a</div><div id=3D=22bloop=5Fcustomfont=22 styl= e=3D=22margin: 0px;=22>Darwin Armons-MacBook-Air.local 13.1.0 Darwin Kern= el Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20=7E2/= RELEASE=5FX86=5F64 x86=5F64</div></div></div><div id=3D=22bloop=5Fcustomf= ont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: rgba= (0,0,0,1.0); margin: 0px; line-height: auto;=22><br></div> <div id=3D=22b= loop=5Fsign=5F1400272071967389952=22 class=3D=22bloop=5Fsign=22><div styl= e=3D=22font-family:helvetica,arial;font-size:13px=22>Best Regards,</div><= div style=3D=22font-family:helvetica,arial;font-size:13px=22>Armon Dadgar= <br></div></div> <div style=3D=22color:black=22><br>=46rom: <span st= yle=3D=22color:black=22>Howard Chu</span> <a href=3D=22mailto:hyc=40symas= .com=22>hyc=40symas.com</a><br>Reply: <span style=3D=22color:black=22=
Howard Chu</span> <a href=3D=22mailto:hyc=40symas.com=22>hyc=40symas.com=
</a><br>Date: <span style=3D=22color:black=22>May 16, 2014 at 11:06:= 49 AM</span><br>To: <span style=3D=22color:black=22>armon.dadgar=40g= mail.com</span> <a href=3D=22mailto:armon.dadgar=40gmail.com=22>armon.dad= gar=40gmail.com</a>, <span style=3D=22color:black=22>openldap-its=40openl= dap.org</span> <a href=3D=22mailto:openldap-its=40openldap.org=22>openlda= p-its=40openldap.org</a><br>Subject: <span style=3D=22color:black=22=
Re: (ITS=237844) LMDB Delete Cursor inconsistencies <br></span></div><b=
r> <blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22><span><div><div=
</div><div>armon.dadgar=40gmail.com wrote:
<br>> --5372ac85=5F8edbdab=5F1271 <br>> Content-Type: text/plain; charset=3D=22utf-8=22 <br>> Content-Transfer-Encoding: quoted-printable <br>> Content-Disposition: inline <br>> <br>> =3D46or now, we have application code to retry the delete until = no further =3D <br>> rows are removed. <br>> Still, it would be nice to have this resolved (and tested) in ma= ster=3D21 <br> <br>Unable to reproduce the issue. I've attached my test program based on= your =20 <br>description. <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><hr></div></div></span></blockquote></body></html> --537675cf_2ae8944a_1704c--