question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to handle unprocessedKeys?

See original GitHub issue

Hi,

I was new to DynamoDB and found that during batchGet/batchWrite, due to get/write capacity, DynamoDB would return a set of unprocessed keys back for clients to query subsequently. I am wondering if scanamo does already handle the unprocessedKey in the response for batchGet/batchWrite? How does Scanamo work with get/put capacity?

as it is described on aws DynamoDB reference:

A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. 
BatchGetItem will return a partial result if the response size limit is exceeded, 
the table's provisioned throughput is exceeded, or an internal processing failure occurs.
 If a partial result is returned, the operation returns a value for UnprocessedKeys. 
You can use this value to retry the operation starting with the next item to get.

Cheers, Cheng

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
regiskuckaertzcommented, Jul 25, 2018

☝️ lol, this is the issue 😅

0reactions
mafayazcommented, Jun 26, 2020

Any update on the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

BatchGetItem - Amazon DynamoDB
The BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key....
Read more >
How to handle UnprocessedItems using AWS JavaScript ...
I am trying to use an AWS Lambda function to handle events from SendGrid. As I understand it, the event ...
Read more >
BatchGetItemResult.withUnprocessedKeys - Java
A map of tables and their respective keys that were not processed with the current response. The UnprocessedKeys value is in the same...
Read more >
AWS Knowledge Series: DynamoDB — Part 2
When batch API does not process all the items it was asked to process — the API ... returned “unprocessed keys” till the...
Read more >
Paginating batchWriteItem and batchGetItem in DynamoDB
batchGetItem and batchWriteItem; UnprocessedKeys and ... we must take into consideration for each method, to ensure we operate on all items.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found