Skip to content

clustermesh: Tidy up services connection on failure to reconnect#12526

Merged
qmonnet merged 1 commit intocilium:masterfrom
joestringer:submit/clustermesh-connection-failure-recovery
Jul 15, 2020
Merged

clustermesh: Tidy up services connection on failure to reconnect#12526
qmonnet merged 1 commit intocilium:masterfrom
joestringer:submit/clustermesh-connection-failure-recovery

Conversation

@joestringer
Copy link
Copy Markdown
Member

@joestringer joestringer commented Jul 14, 2020

In the case where there is a failure to watch remote identities from the
peer cluster when reconnecting to a peer cluster, we would not close
out the connection to the services store properly. Fix it up.

The context usage in this code should also be investigated more closely
but we can fix that up in a subsequent commit.

Fixes: f28f6cd ("clustermesh: Use remote kvstore backend")

In the case where there is a failure to watch remote identities from the
peer cluster, we would not close out the connection to the services
store properly. Fix it up.

The context usage in this code should also be investigated more closely
but we can fix that up in a subsequent commit.

Fixes: f28f6cd ("clustermesh: Use remote kvstore backend")
Signed-off-by: Joe Stringer <joe@cilium.io>
@joestringer joestringer added release-note/bug This PR fixes an issue in a previous release of Cilium. needs-backport/1.8 labels Jul 14, 2020
@joestringer joestringer requested a review from a team as a code owner July 14, 2020 23:37
@joestringer joestringer changed the title clustermesh: Tidy up services connection on failure clustermesh: Tidy up services connection on failure to reconnect Jul 14, 2020
@joestringer joestringer requested a review from tgraf July 14, 2020 23:40
@joestringer
Copy link
Copy Markdown
Member Author

Given that this is clustermesh-only code and AFAIK we don't have any e2e tests for clustermesh, I presume that code review + GH smoke tests should provide all of the coverage we need to proceed with this commit. Not running main CI.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.05%) to 36.95% when pulling 398f634 on joestringer:submit/clustermesh-connection-failure-recovery into b0610a4 on cilium:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/bug This PR fixes an issue in a previous release of Cilium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants