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
GSI consecutive read/write checks stuck at 1 #206
After setting the option "num-write-checks-before-scale-down" to 3, the GSI is never updated because the consecutive write checks appears to be stuck at the value 1:
INFO - scorehistory - GSI: scoreProfileID-timeQuantum-index - Consecutive write checks 1/3
The above is logged in every check interval. On code inspection, found what appears to be a cut-paste error in init.py. In the below code, CHECK_STATUS['tables'][table_name]['reads'] should be replaced by CHECK_STATUS['gsis'][gsi_name]['reads']. Similar for writes.