[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
LMDB mdb_dbi_open mystery
- To: <openldap-technical@openldap.org>
- Subject: LMDB mdb_dbi_open mystery
- From: Sam Dave <samdave@tuta.io>
- Date: Sun, 10 Feb 2019 23:39:32 +0100 (CET)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tuta.io; s=20161216; t=1549838372; bh=gYfAhXtIgNDZNx7+6/coiwsFYO4Ybr1FTjUpCg4/6gE=; h=Date:From:To:Subject:From; b=JyHwKb18FbE67P3BI1P0npNNOXWh81g0UD2QCPsDUOQkUqScTmlPM8acTqB0QZmFO rGvSeiZv8Ele/6XjMfGTRD8evrrF/6q1/w8Y8LjzoUXbvZgJcgyqdS04yIIn9XJKwD i+V0IqJbIKW38TXfwx6qBOLIMFAffX4J6BB7yMdqvh6GAOUAfBAIfitSfEd7JLGXO7 eSbHLl3OGYldRwo+phHHUTJP45R6umwlVQd3slm6G7tW4gmrqKzBfEI2zbVSBkHEKH 1bXnYF+oX2gVTjivYrlpCtd2RzhHIgcXUMud1dbLmyLsMOKSQklTNfAZj01CpjElLe 6IjmOOfADLPbA==
Hello,
The doc for mdb_dbi_open says:
* This function must not be called from multiple concurrent
* transactions in the same process. A transaction that uses
* this function must finish (either commit or abort) before
* any other transaction in the process may use this function.
This indicates that each process can only perform one transaction at the same time.
This makes sense for write transactions, but wasn't LMDB supposed to support multiple read transactions at the same time?
I'm a bit confused now. Can you assist?
Thanks,
Sam