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 snapshot timeout #397

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Add snapshot timeout #397

merged 1 commit into from
Aug 29, 2023

Conversation

benbjohnson
Copy link
Collaborator

This pull request adds a snapshot-timeout configuration to the HTTP server. This prevents slow LTX snapshot writes from holding locks on the database for an excessive period of time. If not specified, it defaults to the retention period since exceeding this period would require the replica to re-snapshot anyway.

Configuration

http:
  snapshot-timeout: "5m"

@benbjohnson benbjohnson merged commit 3541d07 into main Aug 29, 2023
16 checks passed
@benbjohnson benbjohnson deleted the stream-timeout branch August 29, 2023 16:43
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