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] Move logSet logGet under mutex to prevent race condition #1505

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kcudnik
Copy link
Collaborator

@kcudnik kcudnik commented Jan 22, 2025

Fixes: sonic-net/sonic-buildimage#21180

Mutex is added to protect m_logLevelMap when doing logSet from multiple thread

@kcudnik kcudnik added the Bug label Jan 22, 2025
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bingwang-ms
Copy link
Contributor

@kcudnik Can you raise a PR to 202405 to address conflict?

@kcudnik
Copy link
Collaborator Author

kcudnik commented Jan 22, 2025

@kcudnik Can you raise a PR to 202405 to address conflict?

after this will pass

@stephenxs
Copy link
Contributor

@kcudnik Would you please elaborate on what issue you saw without the fix? We saw an issue which I'm not sure whether it's the same

@stephenxs
Copy link
Contributor

@kcudnik Would you please elaborate on what issue you saw without the fix? We saw an issue which I'm not sure whether it's the same

Saw the referenced ticket:)

@kcudnik
Copy link
Collaborator Author

kcudnik commented Jan 23, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kcudnik
Copy link
Collaborator Author

kcudnik commented Jan 23, 2025

arm fail becaue of syslog pipeline, not related to PR

@abdosi
Copy link
Contributor

abdosi commented Jan 25, 2025

/azp run Azure.sonic-sairedis

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kcudnik
Copy link
Collaborator Author

kcudnik commented Jan 25, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abdosi
Copy link
Contributor

abdosi commented Jan 29, 2025

@kcudnik : can you create PR for 202405 ?

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abdosi
Copy link
Contributor

abdosi commented Jan 30, 2025

/azp run Azure.sonic-sairedis

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

syncd crash in syncd::VendorSai::logSet() during docker startup
6 participants