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

release/v1.0: Call Sync explicitly to improve performance. #3418

Merged
merged 1 commit into from
May 15, 2019

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented May 14, 2019

Same as #3415 but for release/v1.0.


This change is Reviewable

Instead of setting SyncWrites=true, we should call db.Sync() at the end of TxnWriter
or when raft.Ready().MustSync is set to true. This is expected to be faster than when
SyncWrites is blanket set to true without any change in data consistency behavior.
Copy link
Contributor

@martinmr martinmr left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@danielmai danielmai merged commit 542df10 into release/v1.0 May 15, 2019
@danielmai danielmai deleted the danielmai/v1.0-call-sync-explicitly branch May 15, 2019 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants