This may be better as a feature request or an idea in the discussion tab, but I feel this strongly needs to be taken care of ASAP, so a bug instead of an enhancement seems to match the priority.
When the app is not cleanly shut down, it is very common to see the DB corrupted.
Hopefully the DB would not corrupt so easily, thanks to atomic operations, checksums, maybe even parity (that might be too CPU intensive), etc.
If it really, really, gets corrupted and cannot be fixed, the app should only download the bits it needs, definitely not the whole thing again (bittorent style).
1- Crash the app
2- Reopen it and get ready to sync from scratch...
@John-Gee: Thanks for opening an issue, it is currently awaiting triage.
The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.
In the meantime, you can:
Details
I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.
Hi @John-Gee , thanks for your feedback, the team was aware of this and hence the implementation of this:

Users need to be patient with the app as it's unlike centralised applications where you can force shut it down and reload it the next time. In conclusion, let the app close itself when you click close app. We appreciate your feedback and will inform the team of this, thank you!
Well, I don't know if that is correct. I would appreciate a technical reason why things must stay like this, but saying it's unlike CeFi apps is not helpful. Other crypto wallets I've used don't have that problem to such a bad extent.
For instance I've just tried killing the process of the dogecoin-qt wallet right after syncing it and then restarting it, it was not fully synced anymore but took maybe a minute to be done. That's quite different. After that both sync'd dogecoin and litecoin wallets processes were killed and restarted multiple time with no trouble at all. I tried the same with Bitcoin-qt the next day, and it behaved fine too. What makes this wallet so much weaker and why is it acceptable?
If something bad must happen then so be it, have the app redownload some chunk of 5kb, 9Mb, etc, but requiring to re-download 70Gb of data without something very wrong at the kernel or hardware level feels strange, and not something people with limited bandwidth (or just slow connection) will tolerate so easily.
The warning is no remedy, the other day power went down so my computer went off and I had to fully re-sync DeFiCh, no time to see that warning nor could I have done anything useful with it anyway. I'm thinking power cutting down is not that uncommon.
I also think this is a BIG issue - my computer did a shutdown for updates and when I reopened the Defi Wallet app it said "corrupted database"... 馃槩 There must be way, please consider reopening the issue.
Please do not persist corrupt data to the blockchain file, use buffers, chunks or other technics to prevent this. It is really annoying!
Most helpful comment
Please do not persist corrupt data to the blockchain file, use buffers, chunks or other technics to prevent this. It is really annoying!