BadgerDB is generating new VLOG at every restart

Hello @ibrahim, thank you a lot for the very extensive response! As mentioned in my previous response, we isolated the issue as a design flaw related to how Raft and BadgerDB are implemented in mosuka/cete and therefore this issue does not concern badger.

We will upgrade badger to the latest version as it is a good practice to stay up-to-date, but I believe some serious design changes need to be done in regards to cete.

I’ll link the GitHub issue here as it might be useful to anyone who is facing the same issue: Design flaw in the Raft <-> BadgerDB implementation · Issue #49 · mosuka/cete · GitHub

Thank you again for the insight, I will keep that in mind while proposing a new architecture.

1 Like