Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB files not readible by other implementations #273

Closed
tbaumann opened this issue Feb 21, 2024 · 6 comments
Closed

DB files not readible by other implementations #273

tbaumann opened this issue Feb 21, 2024 · 6 comments

Comments

@tbaumann
Copy link

I described this in #267 but it's actually not specific to that.

All files I manage to create with lmdb-js are not readable by for example mdb_stat but also lightnighstream which uses the golang implementation.

]$ mdb_stat  domaintokens_lmdb_shadow_test_db/
mdb_env_open failed, error -30793 MDB_INVALID: File is not an LMDB file

The same is true with noSubdir: true and mdb_stat -n

@tbaumann
Copy link
Author

tbaumann commented Feb 21, 2024

domaintokens_lmdb_shadow_test_db.db.tar.gz

Some binaries my program created. (Standard content encoding. No lightningstream stuff)

@tbaumann
Copy link
Author

I get it to compile with the latest change. Thanks.

But now my tests SEGFAULT. 😢

@tbaumann
Copy link
Author

Tests pass. 👍

@tbaumann
Copy link
Author

Seems to work. Lightningstream and other apps can open the files. Thanks a lot, I could not have done it myself.

Can you publish this version as a beta? Building from git repo takes some really janky hacks in my CI/CD. 🙏

@kriszyp
Copy link
Owner

kriszyp commented Feb 26, 2024

Probably will publish a beta later today.

@tbaumann
Copy link
Author

Got it, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants