Tool to recover data from value log

Moved from GitHub badger/551

Posted by manishrjain:

We need a way to replay only the log files in the value log and recover Badger data.

mjentsch commented :

Badly needed! Even SyncWrites set to true keeps leaving corrupt databases behind when Badger panics. We have 1.6.0 crashing from time to time during compaction and no easy way to upgrade to v2 due to the DB sizes (and no idea if v2 would not crash because of the same weakness). All we can do is removing the complete DB and reshard from the other cluster members.