Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase write capacity with --overwrite #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Increase write capacity with --overwrite #35

wants to merge 2 commits into from

Conversation

mlimaloureiro
Copy link

@mlimaloureiro mlimaloureiro commented Apr 24, 2017

I was not being able to increase write capacity when using -c with --overwrite. This pr fix this issue.

Tested against mid size tables, working fine

@mlimaloureiro mlimaloureiro changed the title Increase capacity Increase write capacity with --overwrite Apr 24, 2017
if (error || !data) {
return this.emit('error', 'Fatal Error. Failed to update table. ' + error);
}
}).bind(this));
setTimeout(dynamodb.describeTable.bind(dynamodb, { TableName: this.options.table }, this._checkTableReady.bind(this)), 1000);
Copy link
Contributor

@sdesalas sdesalas Apr 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I would have moved the dynamodb.describeTable() call inside .updateTable() callback but it should work the same either way. 👍

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it's working, would also work the same way. Do you want me to change?

Copy link
Contributor

@sdesalas sdesalas Apr 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I think its fine dude. All good. 👍

Only downer might be that the repo owner has somehow lost access, and I dont have write access to merge these changes myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants