Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Disable WAL #1765

Merged
merged 4 commits into from
Jul 29, 2016
Merged

Disable WAL #1765

merged 4 commits into from
Jul 29, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Jul 29, 2016

https://github.com/facebook/rocksdb/wiki/Known-Issues
"Atomicity is not guaranteed after DB recovery for more than one multiple column families and WAL is disabled."

This makes import 5% slower but guarantees DB recovery.
should also fix #1760

@arkpar arkpar added the A0-pleasereview 🤓 Pull request needs code review. label Jul 29, 2016
@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 29, 2016
@gavofyork
Copy link
Contributor

probably worth having WAL optional but defaulting to off.

@gavofyork gavofyork added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A8-looksgood 🦄 Pull request is reviewed well. labels Jul 29, 2016
@coveralls
Copy link

coveralls commented Jul 29, 2016

Coverage Status

Coverage decreased (-0.004%) to 86.863% when pulling 4100795 on disable-wal into b370867 on master.

@arkpar arkpar added A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. and removed A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Jul 29, 2016
@gavofyork
Copy link
Contributor

(i'm working on that now.)

@gavofyork gavofyork added A0-pleasereview 🤓 Pull request needs code review. and removed A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Jul 29, 2016
@@ -314,6 +314,7 @@ pub struct Args {
pub flag_cache_size_queue: u32,
pub flag_cache_size: Option<u32>,
pub flag_cache: Option<u32>,
pub flag_fast_and_loose: bool,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation

@arkpar arkpar added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 29, 2016
@coveralls
Copy link

coveralls commented Jul 29, 2016

Coverage Status

Coverage increased (+0.005%) to 86.873% when pulling 3f1af62 on disable-wal into b370867 on master.

@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Jul 29, 2016
@coveralls
Copy link

coveralls commented Jul 29, 2016

Coverage Status

Coverage decreased (-0.07%) to 86.798% when pulling 874f855 on disable-wal into b370867 on master.

@arkpar arkpar merged commit 57faa37 into master Jul 29, 2016
@debris debris deleted the disable-wal branch July 30, 2016 11:30
5chdn added a commit that referenced this pull request Jul 2, 2018
dvdplm pushed a commit that referenced this pull request Jul 10, 2018
* parity: highlight --fast-and-loose is not recommended.

* parity: remove fast-and-loose option, ref #1765

* db: remove db wal from options, it's always enabled

* db: remove wal from rocksdb helpers

* cli: fix wallet import test

* ethcore: fix client config tests

* parity: proper deprecated handling for fast-and-loose

* ethcore-client: fix config

* parity: mark fast-and-loose removed

* parity: fix test_find_deprecated

* parity: fix type for fast-and-loose flag

* lock file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unclean node shutdown causes crash on future startups
4 participants