Skip to content

[portsyncd] fix portsyncd restart case#1019

Merged
stcheng merged 1 commit intosonic-net:masterfrom
stepanblyschak:portsyncd_restart
Aug 8, 2019
Merged

[portsyncd] fix portsyncd restart case#1019
stcheng merged 1 commit intosonic-net:masterfrom
stepanblyschak:portsyncd_restart

Conversation

@stepanblyschak
Copy link
Contributor

Signed-off-by: Stepan Blyschak stepanb@mellanox.com

[portsyncd] fix undefined behaviour in Linksync ctor

Signed-off-by: Stepan Blyschak stepanb@mellanox.com

What I did
Fix portsyncd restart bugs
See comments on #963

Why I did it

How I verified it

Details if related

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

[portsyncd] fix undefined behaviour in Linksync ctor

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
@stcheng stcheng merged commit 2902ba0 into sonic-net:master Aug 8, 2019
ishidawataru added a commit to microsonic/usonic that referenced this pull request May 18, 2021
sonic-net/sonic-swss#1019

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
ishidawataru added a commit to microsonic/usonic that referenced this pull request May 18, 2021
sonic-net/sonic-swss#1019

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
ishidawataru added a commit to microsonic/usonic that referenced this pull request May 18, 2021
sonic-net/sonic-swss#1019

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
ishidawataru added a commit to microsonic/usonic that referenced this pull request May 18, 2021
sonic-net/sonic-swss#1019

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
I noticed that after swss restart in VS orchagent does not receive
PortInitDone. I looked at the comment about "g_portSet" says that:

 When this LinkSync class is
 * initialized, we check the database to see if some of the ports' host
 * interfaces are already created and remove them from this set.
However g_portSet was filled after LinkSync is initialized, so I
considered this is a bug causing orchagent does not receive PortInitDone
when portsyncd starts after host interfaces were created.

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants