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 WAL garbage collection #8

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Add WAL garbage collection #8

merged 1 commit into from
Mar 27, 2024

Conversation

wkalt
Copy link
Owner

@wkalt wkalt commented Mar 27, 2024

Prior to this commit we would accumulate WAL indefinitely. Now we scan the WAL's state at an interval and reap any files that are not referenced by anything in pending state. By default the interval is every two minutes. The active file is never reaped.

Prior to this commit we would accumulate WAL indefinitely. Now we scan
the WAL's state at an interval and reap any files that are not
referenced by anything in pending state. By default the interval is
every two minutes. The active file is never reaped.
@wkalt wkalt merged commit f3382b2 into main Mar 27, 2024
2 checks passed
@wkalt wkalt mentioned this pull request Mar 27, 2024
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.

None yet

1 participant