I appreciate this looks a lot like issue 1134/1261 - but a comment on that issue said the issue was fixed in v2.0.2, so this appears to be a regression?
go version)?$ go version go version go1.14 windows/amd64
Windows 7 Enterprise
Version 6.1 (Build 7601: Service Pack 1)
v2.0.3
No idea.
Application starts, write some data to the store, close application with Ctrl-C.
Re-start application - and you see the error about a panic during db.vlog.open.
Only the directory of where to store the data, which is a subdirectory of wherever the app is run from.
Run once, close via Ctrl-C, re-run.
Working normally.
Panic.
@godeater Badger will try to truncate some half-saved data when the crash happens. This is the expected behavior. Everything should work fine if you start badger with opt.Truncate=true..
@jarifibrahim - wonderful, that's all I needed. Thanks for the prompt reply.
Happy to help, @godeater!
Most helpful comment
@jarifibrahim - wonderful, that's all I needed. Thanks for the prompt reply.