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

vttablet: Open and Close healthStreamer #6515

Merged
merged 2 commits into from
Aug 3, 2020

Conversation

sougou
Copy link
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
Member

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
Member

@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