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

Events client: Ensure all go routines exit upon client disconnect. #41

Merged
merged 2 commits into from
Sep 8, 2022

Conversation

renukamanavalan
Copy link
Contributor

@renukamanavalan renukamanavalan commented Sep 8, 2022

Why I did it

The go routines don't get a formal exit, that breaks proper client disconnect from eventd.

How I did it

Add the go routines into waitgroup and invoke done upon proper exit.

How to verify it

Via logs is the easy way.
Start a gnmi client and stop. Note in telemetry log the spew from go routines for proper exit.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@renukamanavalan renukamanavalan merged commit 14f9121 into sonic-net:master Sep 8, 2022
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.

2 participants