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

SIGHUP support for tls config update #6215

Merged
merged 2 commits into from
May 28, 2020
Merged

SIGHUP support for tls config update #6215

merged 2 commits into from
May 28, 2020

Conversation

inexplicable
Copy link
Contributor

similar to tablet config and mysql auth config, at pinterest, we need some mechanism to update the tls config and would like to use the same SIGHUP approach.

@inexplicable inexplicable requested a review from sougou as a code owner May 22, 2020 18:00
Signed-off-by: huiqing <hzhou@pinterest.com>
Copy link
Contributor

@sougou sougou left a comment

Choose a reason for hiding this comment

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

Change looks good. Would it be possible to write a hup test to show that it works? Something like this https://github.com/vitessio/vitess/blob/master/go/mysql/auth_server_static_test.go#L130

Signed-off-by: huiqing <hzhou@pinterest.com>
@inexplicable
Copy link
Contributor Author

Change looks good. Would it be possible to write a hup test to show that it works? Something like this https://github.com/vitessio/vitess/blob/master/go/mysql/auth_server_static_test.go#L130

Thanks a lot Sugu, i've refactored it a bit to make the SIGHUP unit test easier.

@sougou sougou merged commit 734ed78 into vitessio:master May 28, 2020
@deepthi deepthi added this to the v7.0 milestone Jul 27, 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.

4 participants