-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Potential data loss in DynamoDB backend (#10181) fixes #5836 DynamoDB may when throttled return a 2xx response while not committing all submitted items to the database. Depending upon load all actions in a BatchWriteUpdate may be throttled with ProvisionedThroughputExceededException in which case AWS SDK handles the retry. If some messages were throttled but not all ProvisionedThroughputExceededException is not returned to the SDK and it is up to us to resubmit the request. Using an exponential backoff as recommended in AWS SDK for times we possibly get partially throttled repeatedly. * Add a Changelog entry for 10181 * Fix err shadowing Co-authored-by: Conrad Lara <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
storage/dynamodb: Handle throttled batch write requests by retrying, without which writes could be lost. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters