https://bugs.openldap.org/show_bug.cgi?id=10395
--- Comment #21 from Howard Chu hyc@openldap.org --- (In reply to kero from comment #19)
Created attachment 1134 [details] Allow multiple nested read transactions from a write transaction review from comment #18
Hello Howard,
Thank you for the review. I took a bit of time to get my patch working on master3 and found a potential issue when freeing the dirty_list. I previously ensured I didn't allocate it when beginning a nested read transaction, but I was deallocating it multiple times because it is owned by the parent transaction.
So, this patch is for mdb.master and ensures we free the dirty_list (with mdb_dlist_free) only once.
There's no point basing on mdb.master, which is for 0.9. The 0.9 branch is closed for new features.