We depend on a self-managed item count stored in a DB entry for enforcing item quotas. Since DynamoDB automatically handles removal of history-related entities due to expiry, the item count does not get updated when history items expire. This results in the actual item count potentially being lower than the recorded item count, which results in an OVER_QUOTA error which results in the Sync client backing off indefinitely.
We depend on a self-managed item count stored in a DB entry for enforcing item quotas. Since DynamoDB automatically handles removal of history-related entities due to expiry, the item count does not get updated when history items expire. This results in the actual item count potentially being lower than the recorded item count, which results in an
OVER_QUOTA
error which results in the Sync client backing off indefinitely.Reduce total quota to 60k.