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

Stop all writes when memory limit or WAL file limit reached #25686

Open
Tracked by #25683
pauldix opened this issue Dec 19, 2024 · 0 comments
Open
Tracked by #25683

Stop all writes when memory limit or WAL file limit reached #25686

pauldix opened this issue Dec 19, 2024 · 0 comments
Labels

Comments

@pauldix
Copy link
Member

pauldix commented Dec 19, 2024

To ensure server stability, we should reject all writes if we have hit an upper limit on either a configured memory boundary (optional) or a number of WAL files in the backlog (default to 5 * snapshot size).

This can be a periodic check in the background (once a minute is probably fine) that sets a flag in the WriteBuffer to reject writes.

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

No branches or pull requests

1 participant