You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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 throughThe text was updated successfully, but these errors were encountered: