Darrell Gallion

Results 8 comments of Darrell Gallion

It's not crashing every 5min. We take a complete backup every 5min and keep them in min/hour/day folders. So after a crash, we can recover. Sometimes the DB is just...

I appreciate your interest. I'll try to gather more data for you. Confidential data is an issue.

A task reads all keys/values and writes them to a file.

panic: runtime error: slice bounds out of range [-16:] [recovered] panic: == Recovering from initIndex crash == File Info: [ID: 1193, Size: 5060869, Zeros: 5060869] isEnrypted: true checksumLen: 0 checksum:...

It can't be shut down every 5min to do a backup. A Windows update or power failure has been known to crash the DB. A hot backup is the best...

The example that Gemone gave isn't crashing for me. I can't find a case where recover() won't catch the error. This could be what I saw: "In Go 1.16, the...

I have the DB that caused this and will look into it more. badger 2023/06/22 07:56:21 INFO: All 6 tables opened in 212ms badger 2023/06/22 07:56:21 INFO: Discard stats nextEmptySlot:...

This code crashes and isn't caught. Same thing in Badger. ``` func main() { defer RecoverStackTrace() go func() { panic("death") }() select {} } ``` I was able to catch...