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

Re: (ITS#7369) mdb_stat leaves an open transaction if a subdatabase does not exist

Hash: SHA1

On 08/24/2012 10:55 AM, ondrej.kuznik@acision.com wrote:
> Full_Name: Ondrej Kuznik Version: mdb.master OS: Linux URL:
> Submission from: (NULL) (
> If mdb_stat fails (e.g. "mdb_stat db/ this_subdb_does_not_exist"),
> it exits immediately rather than abort the txn and close the env.
> When another process has the mdb environment open while this
> happens, as long as it does not close it, no new transaction can be
> initiated. The whole env then effectively becomes read-only and
> unopenable for new processes.

A possible patch is at:

While I deem this modification too small to be copyrightable, the IPR
notice follows just out of caution:

The attached file is derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following
patch(es) were developed by Acision. Acision has not assigned rights
and/or interest in this work to any party. I, Ondrej Kuznik am
authorized by Acision, my employer, to release this work under the
following terms.

The attached modifications to OpenLDAP Software are subject to the
following notice:
Copyright 2012 Acision
Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP Public

- --
Ondrej Kuznik
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.