amazon-archives / aws-sdk-core-ruby

This repository has moved to the master branch of aws/aws-sdk-ruby
https://github.com/aws/aws-sdk-ruby
243 stars 57 forks source link

DynamoDB does not scale up more than 100% when it can #186

Closed innovia closed 9 years ago

innovia commented 9 years ago

it is a new dynamodb feature that does not exist here in the sdk

i get an error: Cannot increase provisioned throughput to more than twice current value

which is not the case anymore cause you do have the ability to scale more than 100%

trevorrowe commented 9 years ago

As far as I know, this is not a limitation of the SDK. This error is returned from the remote service.

innovia commented 9 years ago

i'll open up a ticket with AWS and update here

also why does Boto able to do it without an issue?

http://boto.readthedocs.org/en/latest/ref/dynamodb.html#module-boto.dynamodb.table

trevorrowe commented 9 years ago

I'm not sure why it would with one SDK and not the other. As I mentioned, the Ruby SDK is not validating or constraining the value client side. Are you perhaps using v1 of the AWS SDK for Ruby?

innovia commented 9 years ago

Hi Trevor

I'm sorry my bad, I was checking against the local dynamodb and that indeed have the limitation but the real dynamodb doesn't

im gonna close this issue

Ami