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

Call evtc_stop after error #64

Merged
merged 23 commits into from
Dec 5, 2022
Merged

Conversation

zbud-msft
Copy link
Contributor

Why I did it

Currently after error, we don't check to see if evtc has stopped via chan, need to make sure if evtc stopped then we call deinit subscriber

How I did it

How to verify it

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)

@sonic-net sonic-net deleted a comment from lgtm-com bot Nov 24, 2022
@zbud-msft zbud-msft marked this pull request as ready for review November 24, 2022 01:32
@zbud-msft zbud-msft requested a review from ganglyu November 24, 2022 01:32
@zbud-msft
Copy link
Contributor Author

@renukamanavalan Now in main thread StreamRun, it will now keep checking channel only if evtc.stopped == 0, as send event failure inside get_events will also set evtc.stopped = 1, as we want to exit all go routines and to stop looking for close, essentially perform our own close operation

@zbud-msft zbud-msft merged commit 43a9179 into sonic-net:master Dec 5, 2022
@zbud-msft zbud-msft deleted the fixHeartbeatIssue branch March 1, 2023 18:37
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