https://bugs.openldap.org/show_bug.cgi?id=10575
Issue ID: 10575 Summary: MDB_WRITEMAP commit fails on Windows without MDB_NOSYNC on 1.0.1 Product: LMDB Version: 1.0.1 Hardware: x86_64 OS: Windows Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: liblmdb Assignee: bugs@openldap.org Reporter: github@nicwatson.org Target Milestone: ---
Created attachment 1194 --> https://bugs.openldap.org/attachment.cgi?id=1194&action=edit reproducer
On Windows, an environment opened with MDB_WRITEMAP cannot commit a write transaction unless MDB_NOSYNC or MDB_NOMETASYNC is also set. mdb_txn_commit() fails with ERROR_INVALID_HANDLE.
See attached for reproducer.
This does not impact Linux, MacOS, or the .9.* series.