Skip to content
This repository was archived by the owner on Feb 18, 2021. It is now read-only.

Conversation

jcorbin
Copy link
Contributor

@jcorbin jcorbin commented Oct 26, 2015

Factor out ensurePeerConnected method, and drain the extra incoming connection in it.

r @rf @Raynos

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We either need to communicate to every one to expect declined messages about draining.

Or make a change in the hyperbahn client in all languages to silence the draining error frame log.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that's a good educational moment to have anyhow, since we'll drain and decline during graceful shutdown anyhow, which we want them to handle.

Plus partial affinity in #66 will Soon ™ drain ex-affinity peers, so clients just really need to get used to this.

@Raynos
Copy link
Contributor

Raynos commented Oct 26, 2015

lgtm. May cause hilarity / confusion.

@jcorbin jcorbin force-pushed the ensure_connected_out_and_drain_in branch from 8d2e22d to 20fc2d5 Compare October 27, 2015 00:48
@jcorbin jcorbin changed the title Ensure connected out and drain in WIP: Ensure connected out and drain in Oct 27, 2015
@jcorbin jcorbin force-pushed the ensure_connected_out_and_drain_in branch from 20fc2d5 to 45572b6 Compare November 2, 2015 21:23
@jcorbin jcorbin force-pushed the ensure_connected_out_and_drain_in branch 2 times, most recently from 1e86021 to 0de86ea Compare November 18, 2015 04:39
@jcorbin jcorbin force-pushed the ensure_connected_out_and_drain_in branch from 0de86ea to 3e7d23d Compare November 18, 2015 04:47
@jcorbin jcorbin changed the title WIP: Ensure connected out and drain in Ensure connected out and drain in Nov 18, 2015
@Raynos Raynos changed the title Ensure connected out and drain in WIP: Ensure connected out and drain in Jan 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants