jammdb
jammdb copied to clipboard
database Design
Is there a project design document? Or a description of the database structure design? I want to do something interesting with your implementation, so I need more details.
Hey @Godones, I don't have a design doc for it since I didn't come up with the design myself and jammdb
is a Rust port of boltdb
. I did find this article that's describes boltdb
really well, and is still very accurate for jammdb
if you want to take a look though!
Out of curiosity, can you share what your idea is that you want to use jammdb
for?
Thanks for your help @pjtatlow , I learned about the related design through boltdb, I am trying to use a database to build a file system project, I need to make some changes to jammdb's dependencies to complete the task.
I have encountered some problems during use. When I run the test, a crash may occur. The location of the crash should come from the two tests of tests/deletes/medium_deletes|large_deletes
. When I run medium_deletes
alone, there is a high probability that it will An error occurred, but the error message is not always the same.The most recent error message is thread 'main' panicked at 'THIS IS VERY VERY BAD', src/node.rs:327:26
or thread 'main' panicked at 'called Option::unwrap() on a None value', src/bucket.rs:739:9
. Because I haven't fully understood the code, I can't determine the specific cause of the bug。
I reproduce this bug in wsl2, rustc 1.66.0-nightly.
@Godones I've just released 0.8.0
, which should resolve your issues. Can you test it out and let me know if you're still running into issues? I'm also planning on writing some blog posts about the design, so I'll leave this issue open until I get that done.
@pjtatlow Thank you, I ran the tests without issue. I am very much looking forward to the blog post about jammdb