You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
The --fast-and-loose argument doesn't allow for a clean exit on purpose. It's a feature meant to be used for quick synchronization on testnet and not for use on the production network.
The reason you don't see any call like KeyValueDB::close() is because the database is closed automatically when it is dropped, that's done here. We fixed an issue recently where some values weren't being dropped correctly on shutdown (#7695) and I think your build doesn't include that. I just ran with --fast-and-loose and exited a couple of times with ctrl-c and there was no db corruption. Try a recent nightly or build the latest master and check if it still happens.
I'm running:
Parity/v1.10.0-unstable-f8bf7e7d4-20180118/x86_64-macos/rustc1.23.0
Quoting
parity --help
(emphasis mine):Expected behaviour: that there is actually such a thing as a "clean" exit, that won't corrupt my DB when using
--fast-and-loose
.Actual behaviour:
Ctrl+C
.killall -HUP parity
.Looking at the source, there's no cleanup-DB-on-quit code in either parity/main.rs or parity/run.rs. And, in fact, ethcore/src/blockchain/blockchain.rs never even calls anything like
KeyValueDB::close()
.The text was updated successfully, but these errors were encountered: