jankotek / mapdb

MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
https://mapdb.org
Apache License 2.0
4.89k stars 873 forks source link

MapDB leaves wal files open on Windows even after close, unless you commit #942

Closed nddipiazza closed 4 years ago

nddipiazza commented 5 years ago

On Windows, if you do the following:

On linux this works fine, no issues.

On windows, the wal logs will remain locked by file system and will corrupt the next time you open the mapdb until you restart the JVM.

icreator commented 5 years ago

see https://github.com/jankotek/mapdb/issues/941