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

grpc / grpc-java / 9332
89%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2018 05:37PM UTC
Jobs 1
Files 233
Run time 9s
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
9332

push

travis-ci

web-flow
core: add panic mode for ManagedChannelImpl (#4023)

Channel enters this mode whenever there is an uncaught throwable from
its ChannelExecutor, which is where most channel internal states are
mutated, such as load-balancing.

In panic mode, the channel will always report TRANSIENT_FAILURE as its
state, and will fail RPCs with an INTERNAL error code with the
uncaught throwable as the cause, which is helpful for investigating
bugs within gRPC and 3rd-party LoadBalancer implementations.

## Change to existing behavior
Previously if `LoadBalancer` throws in `handleResolvedAddressGroups()`, it would
be routed back to `LoadBalancer.handleNameResolutionError()`. Now it will make
the channel panic.

## Internal refactors
- Refactored out `shutdownNameResolverAndLoadBalancer()`, called from three code paths: `enterIdleMode()`, `delayedTransport.transportTerminated()`, and `panic()`.
- Refactored out `updateSubchannelPicker()`, called from both `updateBalancingState()` and `panic()`.

13055 of 14752 relevant lines covered (88.5%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9332.1 22 Feb 2018 05:37PM UTC 0
88.5
Travis Job 9332.1
Source Files on build 9332
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9332
  • 46c1133a on github
  • Prev Build on master (#9299)
  • Next Build on master (#9337)
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