Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Conversation

@askomorokhov
Copy link
Contributor

@askomorokhov askomorokhov requested a review from BupycHuk as a code owner July 5, 2021 09:29
if !s.waitUntilReady(conn, l) {
l.Errorf("Failed to establish two-way communication channel.")
}
streamCtx, streamCancel := context.WithCancel(context.Background())
Copy link
Contributor

Choose a reason for hiding this comment

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

conn.Close()
return
}
s.s = stream
Copy link
Contributor

Choose a reason for hiding this comment

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

this replacement should be done more safety, it can cause race condition.

@askomorokhov askomorokhov changed the title PMM-7000 Reconnect gRPC stream. [DRAFT ]PMM-7000 Reconnect gRPC stream. Jul 20, 2021
@askomorokhov askomorokhov marked this pull request as draft July 20, 2021 19:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants