1 Answer
- Newest
- Most votes
- Most comments
4
Hi, if you are sending PutItem requests to DynamoDB and your receive a success 200 status code, you can be certain the item was written. As DynamoDB is a NoSQL Database, where the items must be unique based on the partition/sort key combo, I believe some of your items may be overwritten as the use the same key?
Also, when you make writes with BatchWriteItems
and you have a batch of 20 items, if only 1 of these items succeed, you will receive a success 200 status. The other 19 records which may have been rejected for various reasons will show up in the UnprocessedItems
key of the response payload, you must re-drive these items manually. It is suggested to ensure you use exponential backoff and retry logic to re-drive UnprocessedItems
.
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
Do the items eventually show up? Or they never show up?