Make sure we aren't downscaling if disabled in the config #279

Merged
merged 2 commits into from Dec 18, 2015

Projects

None yet

2 participants

@Sazpaimon
Contributor

I ran into an issue today where the autoscaler still decided to downscale my table despite being disabled in the config. Turns out that the autoscaler will ignore this setting if it wants to downscale a table to bring it down to the max. I figured this was not intentional, so I made a check for downscaling being disabled right before the throughput is going to get changed to prevent something like this from happening.

@Sazpaimon
Contributor

@sebdah ping? :)

@sebdah sebdah merged commit 0800982 into sebdah:master Dec 18, 2015
@sebdah sebdah added this to the 2.2.x milestone Dec 18, 2015
@sebdah sebdah self-assigned this Dec 18, 2015
@sebdah
Owner
sebdah commented Dec 18, 2015

Thanks again @Sazpaimon! I have merged and released this now in version 2.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment