Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) close the ‘fsync’ and ‘wal’ config of rheakv by default #159

Merged
merged 2 commits into from
May 16, 2019

Conversation

fengjiachun
Copy link
Contributor

Motivation:

The raft log used fsync by default, and the correctness of state-machine data with rheakv depends on the raft log + snapshot, so we do not need to fsync.
For the same reason, we also don't need WAL, which can improve performance.

Modification:

Close the ‘fsync’ and ‘wal’ config of rheakv by default

Result:

Fixes #155

@killme2008 killme2008 merged commit b76e3e6 into master May 16, 2019
@killme2008 killme2008 deleted the feat/rheakv_sync_options branch May 16, 2019 02:23
This was referenced Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RocksRawKVStore 的 sync 默认设置改为 false
2 participants