dynamo
dynamo copied to clipboard
Return unprocessed items for BatchWriteItem operation
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
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.
Will be glad to partake. Working with dynamodb api directly is just painful
any progress here~?
Any progress?