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

geth: add flag to control auto db compaction #317

Closed
wants to merge 1 commit into from

Conversation

sebastianst
Copy link
Member

Description

Adds a flag to control automatic db compaction for the pebble db backend.

Tests

None, this is a new geth node flag. Added a log message so we can confirm the setting is applied when starting a node with this new flag.

Metadata

@sebastianst sebastianst requested a review from a team as a code owner May 19, 2024 11:48
@anacrolix
Copy link
Contributor

I just spotted the do-not-merge label. What's the story there?

@sebastianst
Copy link
Member Author

We tested this and it's not working. The database needs regular compactions, so just disabling it doesn't work, and in fact the node dies after a few minutes. There are other parameters that we could try out tweaking, see this more general PR: #322

@sebastianst sebastianst closed this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants