Join GitHub today
CU increases fail if decreases fail due to exceeded limits #103
When dynamic-dynamo intends to change read- and write-provisioning simultaneously where one increases and the other one decreases, the increase never happens due to exceeded decrease-limits.
In this case, the increase should still be executed as a "standalone" update call.
We just ran into massive throttlings in production due to this dead-lock situation.
The code has been cleaned and restructured. This functionality is now ported to support Global Secondary Indexes as well.
@fwachsmuth, can you please test with the branch called
I've tested this (but with out any load, so no actual increase took place) and it looks good. Here's my log output.