helium / erlang-libp2p

An Erlang implementation of libp2p swarms
https://helium.github.io/erlang-libp2p
Apache License 2.0
121 stars 34 forks source link

rework peerbook repair and clearing #338

Closed evanmcc closed 3 years ago

evanmcc commented 3 years ago

with the new rocks, we're seeing a lot of corruption repair errors, so change around how we start things up so that we're not repairing automatically unless the DB cannot open, and if we can't open post repair, just clean it out, since we can always resync the peerbook.