balancer/randomsubsetting: Implementation of the random_subsetting LB policy#8650
Conversation
Signed-off-by: marek-szews <szews@google.com>
|
@marek-szews : Could you please get the tests to pass. Thanks. |
|
This PR is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed. |
|
Hi @marek-szews - I think we're waiting on you to make some updates so we can continue the review. We can discuss Friday but I wanted to ping this in part to prevent the stale bot from closing it. |
marek-szews
left a comment
There was a problem hiding this comment.
Rework done, tests passed
Tests are still failing. Please read this document for guidelines: https://github.com/grpc/grpc-go/blob/master/CONTRIBUTING.md TL;dr |
| // To install the LB policy, import this package as: | ||
| // | ||
| // import _ "google.golang.org/grpc/balancer/randomsubsetting" | ||
| package randomsubsetting |
There was a problem hiding this comment.
@easwars should we mark this package as experimental?
There was a problem hiding this comment.
Done. Also, changed the name of the LB policy to include the experimental suffix.
There was a problem hiding this comment.
The name of the LB policy may need to be consistent across languages since the LB config may come through the the resolver (DNS TXT records). We may need to update the gRFC to add the experimental suffix.
arjan-bal
left a comment
There was a problem hiding this comment.
LGTM, module a nit about the _experimental suffix in the LB policy name that should be removed based on the gRFC.
Chatted with Mark who agreed that the |
Implements gRFC A68.
Note that this PR only implements the LB policy and does not implement the xDS integration specified here: https://github.com/grpc/proposal/blob/master/A68-random-subsetting.md#xds-integration
RELEASE NOTES:
random_subsettingLB policy