You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[orchdaemon]: Fixed sairedis record file rotation (#2299)
* [orchdaemon]: Fixed sairedis record file rotation
* What I did
Fix#8162
Moved sairedis record file rotation logic out of flush() to fix issue.
Why I did it
Sairedis record file was not releasing the file handle on rotation. This is because the file handle release was inside the flush() which was only being called if a select timeout was triggered. Moved the logic to its own function which is called in the start() loop.
How I verified it
Ran a script to fill log and verified that rotation was happening correctly.
Signed-off-by: Bryan Crossland [email protected]
0 commit comments