Open keen99 opened 7 years ago
bumping the timeout in https://github.com/mapbox/dynamodb-replicator/blob/master/s3-snapshot.js#L18 to something more sane (10s instead of 1s) and adding --retries 100
to the command line seems to at least work around this. but the default handling of these is definitely a bit painful. :)
incremental-snapshot.js
doesnt seem to handle s3 timeouts very well - leaving a broken (partial, missing, or otherwise) snapshot in it's wake:bin/incremental-snapshot.js s3://$BackupBucket/$BackupPrefix/$TABLE s3://$BackupBucket/${TABLE}-snapshot
this case also exits 0, instead of with an error...so hard to handle externally