https://bugs.openldap.org/show_bug.cgi?id=10521
Issue ID: 10521 Summary: read-only transaction under a read-only transaction Product: LMDB Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: liblmdb Assignee: bugs@openldap.org Reporter: bhargavabhat@gmail.com Target Milestone: ---
Since the fix to #10395 was merged, I see that we can create a read-only transaction as a child of another read-only transaction. But the comment in mdb_txn_begin() says
/* Nested transactions: * Only write txns may have nested txns; * if the nested txn is a write txn there may only be 1, no writemap; * if the nested txn is a read txn there may be arbitrarily many. */
I interpret the first statement above as "read-only transaction can't be a parent of another transaction". Is my interpretation correct?