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

Fix orchagent missing request when logrotate happens. #2712

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

mint570
Copy link
Contributor

@mint570 mint570 commented Mar 24, 2023

What I did
Fix orchagent request missing when logrotate happens.

Why I did it
The sairedis logrotate has been moved into the daemon main select loop. After it finishes, it should not continue, because that will drop the event that has been selected.

How I verified it

Details if related

@mint570 mint570 requested a review from prsunny as a code owner March 24, 2023 02:28
@mint570
Copy link
Contributor Author

mint570 commented Mar 24, 2023

@prsunny can you take a look at this? A very small bug fix.

@prsunny prsunny requested a review from theasianpianist March 27, 2023 18:31
Copy link
Contributor

@theasianpianist theasianpianist left a comment

Choose a reason for hiding this comment

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

good find, thanks!

@prsunny
Copy link
Collaborator

prsunny commented Mar 27, 2023

@theasianpianist , can you check if it needs to be backported?

@prsunny
Copy link
Collaborator

prsunny commented Mar 29, 2023

Introduced by #2299.

@Blueve for viz.

theasianpianist pushed a commit that referenced this pull request Mar 30, 2023
- Cherry picking #2712 
- The sairedis logrotate has been moved into the daemon main select loop. After it finishes, it should not continue, because that will drop the event that has been selected.
@prsunny
Copy link
Collaborator

prsunny commented Apr 4, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Collaborator

prsunny commented Apr 18, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny prsunny merged commit b32536c into sonic-net:master Apr 24, 2023
yxieca pushed a commit that referenced this pull request May 4, 2023
* Fix orchagent missing request when logrotate happens. (#2712)
StormLiangMS pushed a commit that referenced this pull request May 25, 2023
* Fix orchagent missing request when logrotate happens. (#2712)
@mint570 mint570 deleted the upstream_fix branch March 19, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants