You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I'm using dynamic_dynamodb-2.2.1
always-decrease-rw-together = true ignored..
and it decrease read and write seperately.
consume decrease opportunity 2 times.
Changing provisioning to 3572 read units and 6500 write units
Updating provisioning to 3572 reads and 6500 writes
...
Consecutive read checks 9/10
Consecutive write checks 10/10
Changing provisioning to 3572 read units and 4875 write units
Updating provisioning to 3572 reads and 4875 writes
...
Consecutive read checks 10/10
Consecutive write checks 0/10
Changing provisioning to 2679 read units and 4875 write units
Updating provisioning to 2679 reads and 4875 writes
def __calculate_always_decrease_rw_values( ... ):
...
if read_units <= provisioned_reads and write_units <= provisioned_writes:
return (read_units, write_units)
and it should be instead:
if read_units < provisioned_reads and write_units < provisioned_writes:
return (read_units, write_units)
It appears it was like this before, but was changed by following commit: b4b1bc1
Based on this commit comment, its intention was to fix the case when either one read or write was already on lower limit and couldn't be scaled down any further. Probably code should compare against min-provisioned-reads and min-provisioned-writes values instead.
Hello
I'm using dynamic_dynamodb-2.2.1
always-decrease-rw-together = true ignored..
and it decrease read and write seperately.
consume decrease opportunity 2 times.
more config (gist)
more log(gist)
The text was updated successfully, but these errors were encountered: