LMDB 1.0 / 0.9 database incompatibility
Steffen Nurpmeso <[email protected]> Sat, 04 Jul 2026 21:43:00 +0200
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <20260704194300.ogqLqYik@steffen%sdaoden.eu> |
Hello Matthias, just saw 3cee1c59bc937 -- interesting! I have not tried LMDB 1.0 yet, but saw some thread talking on it being entirely incompatible DB-wise. Ie, 0.9 databases are simply not supported at all! Whereas i understand Howard Chu a bit when he says The on-disk file format has changed in LMDB 1.0 and versions 0.9 and 1.0 are mutually incompatible. You must use v0.9 #mdb_dump to export your old DBs, and import with v1.0 #mdb_load if you want to migrate your existing data to use LMDB 1.0. There is no support in LMDB 1.0 for operating directly on v0.9 DB files. Including such support would only bloat the library so it will not be done. it causes some trouble "downstream", and that is only the packager side.. A transition period would have been nice. I think i myself follow certain advices and create completely new packages, ie keep bogofilter-lmdb and add bogofilter-lmdb1. Ciao! --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)