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

[syncd] Remove error message when tryTranslateVidToRid fails #1048

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

kcudnik
Copy link
Collaborator

@kcudnik kcudnik commented May 26, 2022

Fixes #1047

lguohan
lguohan previously approved these changes Jun 13, 2022
@kcudnik
Copy link
Collaborator Author

kcudnik commented Jul 19, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@stephenxs
Copy link
Contributor

Hi @kcudnik
I'm just curious why we still need to retrieve RID from VID when a flex counter is removed as the RID is not really used in the removing flow and we can run into a racing condition that RID is not available anymore.
Just for logging the debug information to notify the user of the fact that we are facing a racing condition or other purposes?
thanks

@kcudnik
Copy link
Collaborator Author

kcudnik commented Jul 20, 2022

yes, race condition can happen when counter is removed and api called at the same time, since those 2 events come in 2 different redis events

@kcudnik kcudnik merged commit f554d34 into sonic-net:master Jul 20, 2022
@kcudnik kcudnik deleted the tryvid branch July 20, 2022 12:51
@stephenxs
Copy link
Contributor

hi @kcudnik can we cherry-pick it to 202205?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants