[countersyncd]: resolve labels via object ids#213
Merged
Pterosaur merged 7 commits intoAzure:202412from Mar 13, 2026
Merged
Conversation
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit f36a37f006024dfd3410b28b3c5f199990869edc)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 0e681ffe58c393c6ce1358ba488fc146c1c90240)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 39b8c6765e0ac5e2866b91a83bbfbb7cf28f415c)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit fc66bf48125dfc9a747816c8edde0061133d2391)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 1e64c0d848d156b7ded1a9f7eaf26b280527b580)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit f3a879da93284239ad48e8d01be5f13b5322cf3f)
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#4318 to the
202412branch.This brings the object-id based label resolution work for
countersyncd, including lookup validation and follow-up bookkeeping hardening.Why I did it
The 202412 line needs the same fix so HFT/IPFIX labels are resolved using explicit object IDs instead of fragile positional fallback.
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#4318