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

grpc / grpc-java / 13181
89%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2019 09:26PM UTC
Jobs 1
Files 259
Run time 15s
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
13181

push

travis-ci

web-flow
grpclb: keep track of state updates for cached Subchannels. (#5441)

The problem: GrpclbState tracks Subchannels' states as a mutable
attribute in Subchannel.getAttributes(). However, GrpclbState only
update this attribute for the Subchannels its managing. For those
cached in SubchannelPool, their state attributes are stale. When they
are given back to GrpclbState, IDLE state is assumed.  As a result, if
a Subchannel is READY when it's reclaimed from the pool, it will not
be picked.

To fix that, this change expands SubchannelPool interface to handle
Subchannel state updates, which GrpclbState will call. SubchannelPool
saves the latest state and delivers it when it's returned to
GrpclbState by scheduling a call to handleSubchannelState() in the
SynchronizationContext, so that GrpclbState will take the latest state
as if it was just reported from the Channel.

14188 of 16276 relevant lines covered (87.17%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13181.1 07 Mar 2019 09:26PM UTC 0
87.17
Travis Job 13181.1
Source Files on build 13181
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13181
  • 034675e5 on github
  • Prev Build on master (#13176)
  • Next Build on master (#13184)
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

© 2026 Coveralls, Inc