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

add SyncMode option to PebbleExtraOptions #376

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

magicxyyz
Copy link
Contributor

@magicxyyz magicxyyz commented Nov 19, 2024

Resolves NIT-2952

@cla-bot cla-bot bot added the s CLA signed label Nov 19, 2024
Copy link
Contributor

@tsahee tsahee left a comment

Choose a reason for hiding this comment

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

LGTM

@tsahee
Copy link
Contributor

tsahee commented Nov 28, 2024

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},
Copy link
Contributor

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

Copy link
Contributor

@tsahee tsahee left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants