]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix "Duplicate RW transaction" LMDB exception. 15090/head
authorMiod Vallat <miod.vallat@open-xchange.com>
Mon, 27 Jan 2025 15:10:37 +0000 (16:10 +0100)
committerMiod Vallat <miod.vallat@open-xchange.com>
Mon, 27 Jan 2025 15:10:37 +0000 (16:10 +0100)
commite36e27e83cd431e1ecdcf0edd8d696b9f5140c8c
treeb8cd0c97cb910021dec12ab3614bbd38a468c10c
parent0ce41bc82cf05ac4dcead4aaded112fc8c00da45
Fix "Duplicate RW transaction" LMDB exception.

The check was too strict and would prevent any RO transaction to coexist
with RW transactions. But LMDB is designed to allow this - on the other
hand there can be only one active RW transaction at a time.
ext/lmdb-safe/lmdb-safe.cc