https://bugs.openldap.org/show_bug.cgi?id=10395
kero renault.cle@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #1134|0 |1 is obsolete| | Attachment #1135|0 |1 is obsolete| |
--- Comment #24 from kero renault.cle@gmail.com --- Created attachment 1140 --> https://bugs.openldap.org/attachment.cgi?id=1140&action=edit Allow multiple nested read transactions from a write transaction for master3 review from comment #23
Hello Howard,
Thank you for the review. I took more time to check the different locks. The difficulty is around the fact that nested read transactions can be dropped while others can be created.
To make sure everything is safe I increased the scope the mutex were taking in mdb_txn_begin and especially when accessing parent->mt_child or parent->mt_flags. Now, it is also taken when initializing a nested write transaction. Please, tell me if you see anything spooky.