Venemo/node-lmdb

mdb_copy: copying failed, error -30784 (MDB_INCOMPATIBLE: Operation and DB incompatible, or DB flags

C3Pool opened this issue · 2 comments

I run: mdb_copy -c /root/service_db /root/lmdb_new
Then It errors: mdb_copy: copying failed, error -30784 (MDB_INCOMPATIBLE: Operation and DB incompatible, or DB flags changed)

Are you using the same version of LMDB that you used to create the database? node-lmdb's build doesn't build mdb_copy, I don't think, so not sure if you are building from the same source/version?

It has been solved by redo, although it is still not found why this error is caused. All versions are correct.