Skip to content

vttablet: Open and Close healthStreamer#6515

Merged
deepthi merged 2 commits intovitessio:masterfrom
planetscale:ss-hc1-shutdown
Aug 3, 2020
Merged

vttablet: Open and Close healthStreamer#6515
deepthi merged 2 commits intovitessio:masterfrom
planetscale:ss-hc1-shutdown

Conversation

@sougou
Copy link
Copy Markdown
Contributor

@sougou sougou commented Jul 31, 2020

While running tests, we found that grpc would occasionally send
a spurious value if the tablet was shutdown while a stream was
still open. This packet was confusing vtgate's healthcheck.

This change makes sure that all health streams are stopped before
we shutdown.

Signed-off-by: Sugu Sougoumarane ssougou@gmail.com

@sougou sougou requested review from deepthi and harshit-gangal July 31, 2020 06:20
@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Jul 31, 2020

The failing unit test looks like it might be flaky, it will be good to fix that.

sougou added 2 commits July 31, 2020 17:34
While running tests, we found that grpc would occasionally send
a spurious value if the tablet was shutdown while a stream was
still open. This packet was confusing vtgate's healthcheck.

This change makes sure that all health streams are stopped before
we shutdown.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

LGTM

@deepthi deepthi merged commit 5c5bce2 into vitessio:master Aug 3, 2020
@sougou sougou deleted the ss-hc1-shutdown branch August 6, 2020 01:57
@askdba askdba added this to the v8.0 milestone Oct 5, 2020
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.

3 participants