This repository has been archived by the owner. It is now read-only.
/ libmdbx Public archive
why mdbx_env_set_option MDBX_opt_sync_period may cause
Assertion failed: (data->iov_len == 0 && olddata.iov_len == 0), function mdbx_cursor_put, file mdbx, line 18172.
Dec 3, 2021
I'm write a wrap for libmdbx in rust , I found when use MDBX_opt_sync_period 65536, open env with MDBX_SAFE_NOSYNC
then when I set a MDBX_DUPSORT value with the same value the second time
some times (not every time) may cause
I view the c code , found error cause from there (and the real error is olddata.iov_len!=0)
but when I comment mdbx_env_set_option MDBX_opt_sync_period , still use MDBX_SAFE_NOSYNC, the error never happened
The text was updated successfully, but these errors were encountered: