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

Retry batch delivery with exception handling #32

Merged
merged 1 commit into from
Jan 3, 2017

Conversation

Shmuma
Copy link
Contributor

@Shmuma Shmuma commented Jan 3, 2017

On a heavily loaded system with several processes sending logs to the same stream, it's possible to have invalid sequence situation multiple times. In that case, watchtower thread will exit with unhandled exception.

This commit fixes that by doing given amount of retries, catching invalid sequence exception during all retries.

@kislyuk kislyuk merged commit 05b11ae into kislyuk:master Jan 3, 2017
@kislyuk
Copy link
Owner

kislyuk commented Jan 3, 2017

Looks good, thanks.

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.

2 participants