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

[202012] Fix caclmgrd crash issue when applying scale cacl rules #15630

Merged
merged 4 commits into from
Jul 4, 2023

Conversation

ZhaohuiS
Copy link
Contributor

@ZhaohuiS ZhaohuiS commented Jun 26, 2023

Cherry pick PR for sonic-net/sonic-host-services#62

Why I did it

Fix the issue #10883.

Work item tracking
  • Microsoft ADO (17795594):

How I did it

For performance reason, libswsscommon is not thread safe by design.
caclmgrd share config DB connection cross thread, so change to use new db connector in child thread.

How to verify it

Load scale ipv4/ipv6 rules and verify if caclmgrd is crashed

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Copy link
Contributor

@liuh-80 liuh-80 left a comment

Choose a reason for hiding this comment

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

@qiluo-msft qiluo-msft merged commit 71a8a66 into sonic-net:202012 Jul 4, 2023
github-actions bot pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 29, 2023
…ale cacl rules (sonic-net#15630)

Cherry pick sonic-net#15630 to internal repo.

Related work items: sonic-net#15630, #24449635
github-actions bot pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 29, 2023
github-actions bot pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 29, 2023
…ale cacl rules (sonic-net#15630)

[202012] Fix caclmgrd crash issue when applying scale cacl rules (sonic-net#15630)
Fix ADO https://msazure.visualstudio.com/One/_workitems/edit/24492803

Related work items: sonic-net#15630, #24492803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants