Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc: Heartbeat local connections too #23298

Merged
merged 1 commit into from
Mar 3, 2018

Conversation

bdarnell
Copy link
Contributor

@bdarnell bdarnell commented Mar 1, 2018

Local connections can fail if the machine's network configuration
changes (for example, if you turn wifi off on a laptop). We disabled
heartbeating of local connections in #16526 to work around a UI issue
(in which the UI would fail to recover after a local connection
failed). This relied on GRPC's internal reconnections, which were
disabled in #22658. This commit re-enables local heartbeats so that
our reconnection logic works as usual (In the meantime, the UI has
gotten better about error recovery, so #16526 is no longer necessary).

Fixes #22951

Release note (bug fix): The admin UI no longer hangs after a node's
network configuration has changed.

Local connections can fail if the machine's network configuration
changes (for example, if you turn wifi off on a laptop). We disabled
heartbeating of local connections in cockroachdb#16526 to work around a UI issue
(in which the UI would fail to recover after a local connection
failed). This relied on GRPC's internal reconnections, which were
disabled in cockroachdb#22658. This commit re-enables local heartbeats so that
our reconnection logic works as usual (In the meantime, the UI has
gotten better about error recovery, so cockroachdb#16526 is no longer necessary).

Fixes cockroachdb#22951

Release note (bug fix): The admin UI no longer hangs after a node's
network configuration has changed.
@bdarnell bdarnell requested review from solongordon and a team March 1, 2018 22:09
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@bdarnell bdarnell merged commit e8e86e0 into cockroachdb:master Mar 3, 2018
@bdarnell bdarnell deleted the local-heartbeat branch March 3, 2018 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core: endless "cannot reuse client connection" warnings in log
3 participants