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
Currently the ACQUIRE_LEASES_RECOVERY_INTERVAL is hard-coded to fire every 5 seconds if an error is returned when attempting to acquire a lease. This becomes a big problem if an account has a lot of kinesis streams and multiple instances of lifion-kinesis managing them.
My prod account is safe, because it only has about 10 kinesis streams. But my development account covers 10 different testing environments, so it has about 100 streams. Searching my logs for "Unexpected recoverable failure when trying to acquire" returns ~5,000 hits per minute.
I've opened a PR to make the lease acquisition recovery interval configurable.
I ran this code in my test env and set it to 30 seconds. This dropped my error rate from 5,000/min to 20/min.
The text was updated successfully, but these errors were encountered:
Currently the ACQUIRE_LEASES_RECOVERY_INTERVAL is hard-coded to fire every 5 seconds if an error is returned when attempting to acquire a lease. This becomes a big problem if an account has a lot of kinesis streams and multiple instances of lifion-kinesis managing them.
My prod account is safe, because it only has about 10 kinesis streams. But my development account covers 10 different testing environments, so it has about 100 streams. Searching my logs for "Unexpected recoverable failure when trying to acquire" returns ~5,000 hits per minute.
I've opened a PR to make the lease acquisition recovery interval configurable.
I ran this code in my test env and set it to 30 seconds. This dropped my error rate from 5,000/min to 20/min.
The text was updated successfully, but these errors were encountered: