Skip to content

Limit number of retires when we get ProvisionedThroughputExceededException#256

Merged
tomwilkie merged 2 commits intomasterfrom
254-table-name-in-errors
Jan 31, 2017
Merged

Limit number of retires when we get ProvisionedThroughputExceededException#256
tomwilkie merged 2 commits intomasterfrom
254-table-name-in-errors

Conversation

@tomwilkie
Copy link
Copy Markdown
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
Copy Markdown
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