Thank you for the clarification. "It's Not a Bug, It's a Feature" ;)
Regards, Leonid. чт, 14 нояб. 2019 г. в 16:51, Janne Johansson <[email protected]>: > > Den tors 14 nov. 2019 kl 14:27 skrev Леонид Юрьев <[email protected]>: >> >> After researching the problem I found the reason - on OpenBSD a >> writing to the file descriptor of a mmap'ed file are not (always >> and/or immediately) visible in the corresponding mmap'ed memory >> region. >> libmdbx maps whole DB to the memory and supports several modes to >> modify the data, but problems occur only when the data is updated by >> writing to the file descriptor. > > > That is how OpenBSD works, you have to decide if you want to talk mmap() or > via file descriptor, not both at the same time. > > -- > May the most significant bit of your life be positive.
