MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.99k stars 529 forks source link

Replace Rocksdb with LMDB #15807

Open Geometer1729 opened 3 months ago

Geometer1729 commented 3 months ago

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.

Geometer1729 commented 3 months ago

https://github.com/MinaProtocol/mina/pull/15810

submarinec94 commented 3 months ago

one of the error that Rocksdb and LMDB disagree. shelf this one