google / leveldb

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
BSD 3-Clause "New" or "Revised" License
36.66k stars 7.84k forks source link

leveldb:database repair #1097

Open huhengyuan opened 1 year ago

huhengyuan commented 1 year ago

So far, no official database repair steps have been found, and I still have doubts about the use of leveldbutil.Trouble points out a clear way about database repair,thanks.

proller commented 8 months ago

compile and use this ulil from this branch: https://github.com/proller/leveldb/blob/repair2/db/leveldbrestore.cc