当我们扫描DynamoDB表格时,我们可以/应该使用LastEvaluatedKey
来跟踪进度,以便在发生故障时可以恢复。该文件说,在插入时扫描DynamoDB表格
LastEvaluateKey
是The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.
我的问题是,如果我开始扫描,暂停,插入几行,并从以前LastEvaluatedKey
恢复扫描,我会恢复扫描后获得这些新行?
我的猜测是我可能会错过一些新的行,因为新密钥将被散列并且值可能小于LastEvaluatedKey
。
我的猜测是对的吗?任何解释或文件链接表示赞赏。