• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / #18582
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v1.77.x
DEFAULT BRANCH: master
Ran 25 Apr 2023 10:21PM UTC
Jobs 1
Files 554
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#18582

push

github-actions

web-flow
xds: Allow child of cluster_impl LB to change (#10091) (#10098)

Under normal conditions the child LB of `ClusterImplLoadBalancer` does
not fluctuate, based on the field used to configure load balancing in
the xDS `Cluster` proto it is either:

1. `WrrLocalityLoadBalancer` if the newer `load_balancing_policy` field
   is used
2. `WeightedTargetLoadBalancer` if the legacy `lb_policy` field is used

`ClusterImplLoadBalancer` currently assumes that this child does not
change and so does not change the child LB when the name resolver sends an
update. If the control plane does switch to using a different field for
LB config, that update will have an LB config meant for the other child
LB type. This will result in a ClassCastException and a channel panic.

To address this, `ClusterImplLoadBalancer` will now use
`GracefulSwitchLoadBalancer` and makes sure if the child policy changes
the correct LB implementation is switched to.

30828 of 34984 relevant lines covered (88.12%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #18582.1 25 Apr 2023 10:21PM UTC 554
88.12
Source Files on build #18582
  • Tree
  • List 554
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #18582
  • 94a62d13 on github
  • Prev Build on v1.55.x
  • Next Build on v1.55.x
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc