Skip to content

Limit number of retires when we get ProvisionedThroughputExceededException #256

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

Merged
merged 2 commits into from
Jan 31, 2017

Conversation

tomwilkie
Copy link
Contributor

Also, include table name in the dynamodb error metric.

Part of #254

…ption, include table name in the dynamodb error metric.
}

if dictLen(outstanding)+dictLen(unprocessed) > 0 {
return fmt.Errorf("failed to write chunk: too many retries")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe say how many retries, as well as how many outstanding & unprocessed.

@tomwilkie tomwilkie merged commit 29cfdf6 into master Jan 31, 2017
@tomwilkie tomwilkie deleted the 254-table-name-in-errors branch January 31, 2017 15:59
@bboreham bboreham mentioned this pull request Nov 21, 2017
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