[pybsddb] environment close and DBRunRecovery

Jesus Cea jcea at argo.es
Sat Sep 20 05:11:13 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pierre LEBRECH wrote:
> I have one process which wants to close an environment. But this process
> encounters difficulties to close the environment when this one returns a
> DBRunRecovery error.
> 
> So, how may I close an environment when it returns a DBRunRecovery error?
> 
> 
> PS : context (some explanations) :
> 
> one process (written in C) creates and recovers (sometimes) the
> environment. A secondary process (written with python) uses this
> environment. When the first process dies, it recreates the environment
> without any problem. Then, the secondary process detects that the
> previous environment was recovered. So, it tries to close it and want to
> reopen the recovered one. OK. This secondary process can open the new
> environment but cannot close the old one.

Can you post a minimal test case?.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSNRptZlgi5GaxT1NAQKzpAP+KQk34oqPaAxAO/iOq+4SVVKUwNTGgeJl
OIsWzGjsbpMu5rFYF39bOPZqp4cXg/zZj329iLLRACPvQomqNXI/wJxecao3J38S
GJIpUz/r2kpBxQZLi0vB8V4DuKFNUJVU9fLBJw2cS8EBczfxDRKa3htRc26O+FD5
cKD4/cGcFhg=
=ShTv
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list