Question: Exponential backoff for DynamoDB would be triggered only if the entire items from a batchWrite() call failed or even if just some items failed? #1262
Labels
guidance
Question that needs advice or information.
Got a question about DynamoDB.batchWrite(), the SDK exponential backoff is only triggered when the whole batch of items failed or it would be also triggered even when just a few items failed to be written?
I saw this previous questions and realized the SDK can handle retries, but is not clear to me if it handles all scenarios:
a) all items failed
b) just some items failed
I wanna know if I need to write my own exponential backoff handler when the batchWrite() returns some "UnprocessedItems", in order to do not end up coding what the SDK already does or to lose UnprocessedItems assuming the SDK is doing something it is not.
Thanks in advance.
The text was updated successfully, but these errors were encountered: