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
I noticed a very small percentage of my traffic was throwing an error, and I was confused as to why until I saw the code below. It's a subtle bug in the code that calculates the slot ranges:
I noticed a very small percentage of my traffic was throwing an error, and I was confused as to why until I saw the code below. It's a subtle bug in the code that calculates the slot ranges:
async-redis/lib/async/redis/cluster_client.rb
Line 109 in 6a75f89
With
exclude_end
defined, the ranges are not including their last values.Whereas, we want to include the last values:
This was causing the last slot for every node to not be found using
RangeMap#find
.The text was updated successfully, but these errors were encountered: