[countersyncd]: avoid blocking async actor loops#214
Merged
Pterosaur merged 4 commits intoAzure:202412from Mar 13, 2026
Merged
Conversation
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 2c832b112af6665aeb41cdf664e0f83f4698f9cb)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 28a0fb1480fb9ac474cd3554c61cae09a526e556)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 1276dd5e40b3972367960d3235eb9ddf7c661752)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit a8f9d8c48bd741fb843f2accede6724b068a3ad5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Backported sonic-net/sonic-swss#4319 to the
202412branch.This keeps the async actor loop fixes for
countersyncd, including the follow-up thread-spawn and shutdown handling adjustments.Why I did it
The 202412 line needs the same fixes so
countersyncdavoids blocking async actor loops and handles the SWSS reader thread lifecycle more safely.How I verified it
Backport was validated as part of the combined 202412
countersyncdstack verification.A merged 202412 build containing the backports of public PRs 4316/4317/4318/4319 was built and deployed to DUT
str4-sn5640-2, then the full HFT regression was run:high_frequency_telemetry/test_high_frequency_telemetry.pytests=14,failures=0,errors=0,skipped=720241212.54Details if related
Source public PR: sonic-net/sonic-swss#4319