Add HLLRedisCounter errors to redis_usage_counter
There are instances (e.g. in Gitlab::UsageData) of passing HLLRedisCounter to the block in #redis_usage_data and it's errors wouldn't be rescued to return fallback value. This would potentially result in failing the entire Usage Ping generation. This prevents that and hardens the method. All HLLRedisCounter custom exceptions are rescued, since EventError is their superclass. See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54600
Showing
Please register or sign in to comment