William Brown wrote:
On Fri, 2018-08-17 at 07:06 +0100, Howard Chu wrote:
I'm quite aware that it is COW - this issue is specific to COW trees. Transactions must be removed in order, they can not be removed out of order. It is about how pages are reclaimed for the freelist
Incorrect.
We may have to "agree to disagree" then.
Pure, utter nonsense. You're simply wrong, and at this point you're spewing FUD.
Leonid is one of the sharpest code reviewers around, and also one of the most accurate critics of this code, and even he agrees that there's no issue here.
This function guarantees that the oldest outstanding read txn is protected, regardless of txn commit order:
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=libraries/l...
The source code doesn't lie, but for some reason you are. Either that or you're using some broken knockoff that claims to be LMDB but isn't.