-
Notifications
You must be signed in to change notification settings - Fork 106
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
add SyncMode option to PebbleExtraOptions #376
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Need to spend some time thinking what should be default for us |
@@ -238,7 +238,7 @@ func New(file string, cache int, handles int, namespace string, readonly bool, e | |||
fn: file, | |||
log: logger, | |||
quitChan: make(chan chan error), | |||
writeOptions: &pebble.WriteOptions{Sync: !ephemeral}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'll feel better if our default will stay "on" and we could later think if the logic that goes for geth turning it off also fits us
Resolves NIT-2952