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

Re: (ITS#7651) LMDB: Uncontrolled database when opened from multiple processes



--001a11c21408c992a604e2c913b8
Content-Type: text/plain; charset=UTF-8

Yes, sorry, my example wasn't very good. I call mdb_env_create in both, the
parent and the child. I will create an mtest8.c today to illustrate the
problem.
On 30 Jul 2013 23:34, "Hallvard Breien Furuseth" <h.b.furuseth@usit.uio.no>
wrote:

> Whoops, too hasty reply.  Didn't notice your mdb_env_close(env)
> before the fork.  But do you mdb_env_create() again after?
> mdb_env_close() destroys the MDB_env.
>
> --
> Hallvard
>

--001a11c21408c992a604e2c913b8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Yes, sorry, my example wasn&#39;t very good. I call mdb_env_=
create in both, the parent and the child. I will create an mtest8.c today t=
o illustrate the problem.</p>
<div class=3D"gmail_quote">On 30 Jul 2013 23:34, &quot;Hallvard Breien Furu=
seth&quot; &lt;<a href=3D"mailto:h.b.furuseth@usit.uio.no";>h.b.furuseth@usi=
t.uio.no</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">
Whoops, too hasty reply. =C2=A0Didn&#39;t notice your mdb_env_close(env)<br=
>
before the fork. =C2=A0But do you mdb_env_create() again after?<br>
mdb_env_close() destroys the MDB_env.<br>
<br>
--<br>
Hallvard<br>
</blockquote></div>

--001a11c21408c992a604e2c913b8--