Skip to content

Add snapshot timeout#397

Merged
benbjohnson merged 1 commit intomainfrom
stream-timeout
Aug 29, 2023
Merged

Add snapshot timeout#397
benbjohnson merged 1 commit intomainfrom
stream-timeout

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
@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.

1 participant