mina
mina copied to clipboard
Replace Rocksdb with LMDB
- [x] Implement module
- [x] make create migrate any existing rocksdb data
- [ ] Debug/Pass CI
- [ ] Review
Debugging:
It seemed like set_batch was breaking things but it turned out that the rocksdb fold methods were broken which was causing the data to appear to disagree. https://app.zenhub.com/workspaces/protocol-eng-663019a2b7c02c03cd737a1a/issues/gh/minaprotocol/mina/15838
Once that was fixed I noticed to_alist was backwards for rocksdb so I fixed my code to replicate that.
https://github.com/MinaProtocol/mina/pull/15810
one of the error that Rocksdb and LMDB disagree. shelf this one