Does not scale down when one of the provisoned values is already at the low limit #237

Merged
merged 2 commits into from Mar 17, 2015

Projects

None yet

2 participants

@lcabral37
Contributor

When always-decrease-rw-together is true if either one is at the lower limit it will not scale down the other value.

Ex. Writes is already at lower specified limit 5; reads is at 13 but can be lowered to 5 (its bellow the threshould)

The application keeps logging the message "Changing provisioning to 7 read units and 5 write units" but later logs "Reads could be decreased, but we are waiting for writes to get lower than the threshold before scaling down" instead of scaling down"

We need to scale down in this condition!

This looks related to #133 & #142?!

lcabral37 added some commits Mar 16, 2015
@lcabral37 lcabral37 still return when one of the provisioned values is already at the low…
…ers value

When always-decrease-rw-together is true if either one is at the lower
limit it will not scale down the other.
b4b1bc1
@lcabral37 lcabral37 When always-decrease-rw-together is true if either one is at the lowe…
…r limit it will not scale down the other value.

this should also work for secondary indexes
567cc00
@sebdah sebdah merged commit 567cc00 into sebdah:master Mar 17, 2015
@sebdah
Owner
sebdah commented Mar 17, 2015

Thanks for the PR @lcabral37. I have merged and released it in version 1.20.4 now.

@sebdah sebdah self-assigned this Mar 17, 2015
@sebdah sebdah added this to the 1.20.x milestone Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment