dynamo icon indicating copy to clipboard operation
dynamo copied to clipboard

Return unprocessed items for BatchWriteItem operation

Open zeako opened this issue 5 years ago • 4 comments

Currently the function only returns wrote, err wouldn't it be more valuable to also add the unprocessed items which will enable the client to handle partial success better?

with wrote we only get an indication, but we can't really tell which items didn't get through

zeako avatar Jan 29 '20 08:01 zeako

It automatically retries until all the unprocessed items are handled, but yeah I suppose this could be useful if your network dies partway through or something. It does put all the items in the order you gave them, but I’m not sure if the DynamoDB backend processes them out of order. It is idempotent so worst case scenario you can redo the whole batch. I’m going to do rewrite the Batch APIs soonish and I’ll keep this in mind.

guregu avatar Jan 29 '20 09:01 guregu

Will be glad to partake. Working with dynamodb api directly is just painful

zeako avatar Jan 29 '20 10:01 zeako

any progress here~?

zzerjae avatar Feb 01 '21 07:02 zzerjae

Any progress?

mingrammer avatar Nov 01 '23 05:11 mingrammer