Closed er1c closed 5 years ago
Yeah, basically that will happen if the tool is reading too fast for your table. We aren't doing re-querying for when we do a query and DynamoDB says "hey, that's too much data, you need to slow down ... here's some data, and here's some keys I didn't process that you need to try again for".
The way around this is to play with the CLI flags a bit and slow down the reads. Try --batch-read-limit
and --scan-limit
. (Or turn on DynamoDB on-demand for the table)
@jthomerson good catch, forgot to enable ondemand on the new table, I'll update and verify
I haven't dug into this, but I got this error on my first run at the end (and at the end of a 2nd run too)
https://github.com/silvermine/dynamodb-table-sync/blob/master/src/Synchronizer.js#L527