From armon.dadgar@gmail.com Fri May 16 21:02:50 2014 From: armon.dadgar@gmail.com To: openldap-bugs@openldap.org Subject: Re: (ITS#7844) LMDB Delete Cursor inconsistencies Date: Fri, 16 May 2014 21:02:49 +0000 Message-ID: <201405162102.s4GL2nSX053532@boole.openldap.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5660493971021787968==" --===============5660493971021787968== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit --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 =20 > Reply: Howard Chu hyc=40symas.com =20 > Date: May 16, 2014 at 11:06:49 AM =20 > To: armon.dadgar=40gmail.com armon.dadgar=40gmail.com =20 > , openldap-its=40openldap.org =20 > 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