Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ConsistentHashLB.minimumRingSize defaults to 0 #13261
Describe the bug
Steps to reproduce the bug
If there are 2 endpoints in the cluster, and you send http requests to the cluster, you can see around 90% http requests are sent to one of the endpoint and 10% to the other.
definitely a bug with how the proto was generated. cluster.go sets the field as:
And unfortunately the generated method in DestinationRule for GetMinimumRingSize() returns 0 in the nil case, rather than respecting the field as unset: