erthink / libmdbx

One of the fastest embeddable key-value ACID database without WAL. libmdbx surpasses the legendary LMDB in terms of reliability, features and performance.
https://erthink.github.io/libmdbx/
Other
1.16k stars 111 forks source link

Assertion `head_txnid != head_txnid' failed when using MDBX_SAFE_NOSYNC #257

Closed kriszyp closed 2 years ago

kriszyp commented 2 years ago

On my linux box, after loading a bunch of entries into a new database with MDBX_SAFE_NOSYNC enabled, if I restart the process, libmdbx frequently crashes when opening with:

mdbx:15149: mdbx_setup_dxb: Assertion `head_txnid != head_txnid' failed

Do you know if that indicates something in particular that I am doing wrong?

erthink commented 2 years ago

This nasty typo was fixed back in October. Pleas use the last release or the current master branch.