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

grpc / grpc-java / #19416
89%

Build:
DEFAULT BRANCH: master
Ran 12 Aug 2024 06:32PM UTC
Jobs 1
Files 607
Run time 2min
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

12 Aug 2024 06:23PM UTC coverage: 84.469% (-0.002%) from 84.471%
#19416

push

github

web-flow
xds: WRRPicker must not access unsynchronized data in ChildLbState

There was no point to using subchannels as keys to
subchannelToReportListenerMap, as the listener is per-child. That meant
the keys would be guaranteed to be known ahead-of-time and the
unsynchronized getOrCreateOrcaListener() during picking was unnecessary.

The picker still stores ChildLbStates to make sure that updating weights
uses the correct children, but the picker itself no longer references
ChildLbStates except in the constructor. That means weight calculation
is moved into the LB policy, as child.getWeight() is unsynchronized, and
the picker no longer needs a reference to helper.

33389 of 39528 relevant lines covered (84.47%)

0.84 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.69
-0.27% ../core/src/main/java/io/grpc/internal/ClientCallImpl.java
2
78.95
-2.11% ../okhttp/src/main/java/io/grpc/okhttp/ExceptionHandlingFrameWriter.java
2
96.13
-1.1% ../util/src/main/java/io/grpc/util/MultiChildLoadBalancer.java
2
98.38
0.01% ../xds/src/main/java/io/grpc/xds/WeightedRoundRobinLoadBalancer.java
3
93.26
-1.69% ../core/src/main/java/io/grpc/internal/AbstractClientStream.java
Jobs
ID Job ID Ran Files Coverage
1 #19416.1 12 Aug 2024 06:32PM UTC 607
84.47
Source Files on build #19416
  • Tree
  • List 607
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19416
  • 0d47f5bd on github
  • Prev Build on master
  • Next Build on master
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