[202405] Restart PMON when SWSS flushes APPL_DB on Arista SKUs that use media_settings.json#1080
Merged
arlakshm merged 1 commit intoAzure:202405from May 2, 2025
Conversation
10 tasks
bingwang-ms
pushed a commit
that referenced
this pull request
Jan 16, 2026
…omatically (#24121) #### Why I did it src/sonic-swss-common ``` * 36a8519 - (HEAD -> master, origin/master, origin/HEAD) Add c-api/Rust wrappers for SonicV2Connector (#1080) (21 hours ago) [Qi Luo] * f9cc568 - Fix trixie compilation and add Trixie to PR pipeline (#1069) (29 hours ago) [Saikrishna Arcot] ``` #### How I did it #### How to verify it #### Description for the changelog
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.
Workaround for sonic-net/sonic-buildimage#21902
SWSS startup causes APPL_DB to be flushed.
This results in
PORT_TABLE:Ethernet#losing it's media_settings tunings populated by XCVRD.Without this change (tuning lost):
With this change (tuning preserved):
I also see the message in syslog that pmon is restarted right after the dbs are flushed:
This is a cast specifically for MSFT-202405 for Arista T2 SKUs, we'll submit a change that applies more generally to all media_settings.json SKUs in master.