Skip to content

Different counts for parallel scan and sequential scan of dynamodb table when acquire all records. #3643

Discussion options

You must be logged in to vote

I think this could be an issue with eventual consistency in DynamoDB. For more info you can refer to this documentation: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html.

Have you tried setting ConsistentRead=True in your scan command? Here is the scan documentation for reference: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/scan.html.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RyanFitzSimmonsAK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants