-
Notifications
You must be signed in to change notification settings - Fork 543
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
[Mclagsyncd] Ignore select event if its return value is error. #2776
base: master
Are you sure you want to change the base?
Conversation
/easycla |
/easycla |
512a62d
to
489fc92
Compare
@Minkang-Tsai , @Praveen-Brcm can you please help review this? |
|
||
if (ret == Select::ERROR) | ||
{ | ||
SWSS_LOG_NOTICE("Error: %s!", strerror(errno)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is error case, should the log level be elevated to WARNING or ERROR?
Hi @gechiang |
You have two choices:
Reason for this ask is we need to clearly describe the scenario involved so it helps the reviewer to see what is happening and what your changes will help to resolve the issue. |
What I did
Ignore select event if its return value is error.
Why I did it
In order to prevent the mclagsyncd terminated.