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.

Reply via email to