pjtatlow / jammdb

Just Another Memory Mapped Database
Apache License 2.0
269 stars 20 forks source link

can't open boltdb file #32

Closed jackyzjk closed 11 months ago

jackyzjk commented 11 months ago

I have a boltdb config file which generate in go language, I want to read it using jammdb, but it panic when I open it, the error as follows:

thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `4`,
 right: `3`', /home/jicky/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-be2141875385cea5/jammdb-0.10.0/src/page.rs:69:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
pjtatlow commented 11 months ago

jammdb is not compatible with databases from BoltDB. It's heavily inspired by bolt, but not 100% file compatible.