Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
An attempt to update provisioning is made even if the requested values are equal to the tables current values #46
If "always-decrease-rw-together" is set to true, there is a chance for the requested provisioning change to be set to that of the current tables. Because of that among other reasons... there are times when a request is made to change a tables provisioning to the same values it is currently provisioned.
In the "update_throughput" function in "dynamic-dynamodb/core/init.py" I would recommend a simple check that determines if the requested provisioning values are both equal to the current provisioning values.
This snippet would do nicely around line 305-306 in the aforementioned file:
if read_units == table.read_units && write_units == table.write_units: return