-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[swss/syncd] cold start syncd service by swss in attach method #2639
Merged
Conversation
This file contains 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
start() is called by service startPre method, which is blocking. Starting syncd service here is causing deadlock. attach() is called by service start method, which is non-blocking. Signed-off-by: Ying Xie <[email protected]>
yxieca
changed the title
[swss/syncd] cold start syncd service in swss in attach method
[swss/syncd] cold start syncd service by swss in attach method
Mar 4, 2019
jleveque
approved these changes
Mar 4, 2019
When was this introduced? with #2634 ? |
@jipanyang: Yes. |
Made to 201811 branch on 3/6/2019 |
yxieca
added a commit
that referenced
this pull request
Mar 7, 2019
start() is called by service startPre method, which is blocking. Starting syncd service here is causing deadlock. attach() is called by service start method, which is non-blocking. Signed-off-by: Ying Xie <[email protected]>
tiantianlv
pushed a commit
to SONIC-DEV/sonic-buildimage
that referenced
this pull request
Apr 10, 2019
…-net#2639) start() is called by service startPre method, which is blocking. Starting syncd service here is causing deadlock. attach() is called by service start method, which is non-blocking. Signed-off-by: Ying Xie <[email protected]>
tiantianlv
pushed a commit
to SONIC-DEV/sonic-buildimage
that referenced
this pull request
Apr 10, 2019
…-net#2639) start() is called by service startPre method, which is blocking. Starting syncd service here is causing deadlock. attach() is called by service start method, which is non-blocking. Signed-off-by: Ying Xie <[email protected]>
tiantianlv
pushed a commit
to SONIC-DEV/sonic-buildimage
that referenced
this pull request
Apr 10, 2019
…-net#2639) start() is called by service startPre method, which is blocking. Starting syncd service here is causing deadlock. attach() is called by service start method, which is non-blocking. Signed-off-by: Ying Xie <[email protected]>
yxieca
added a commit
to yxieca/sonic-buildimage
that referenced
this pull request
Jan 25, 2023
swss: * f28d6622 2023-01-25 | [portinit] Do not call GET on SAI_PORT_ATTR_SPEED when AUTONEG is enabled (sonic-net#2484) (sonic-net#2639) (github/202012, 202012) [Ying Xie] * 217f7f00 2023-01-21 | Cherry pick of sonic-net/sonic-swss#2589 (sonic-net#2627) [siqbal1986] Signed-off-by: Ying Xie <[email protected]>
yxieca
added a commit
that referenced
this pull request
Jan 26, 2023
swss: * f28d6622 2023-01-25 | [portinit] Do not call GET on SAI_PORT_ATTR_SPEED when AUTONEG is enabled (#2484) (#2639) (github/202012, 202012) [Ying Xie] * 217f7f00 2023-01-21 | Cherry pick of sonic-net/sonic-swss#2589 (#2627) [siqbal1986] Signed-off-by: Ying Xie <[email protected]> Signed-off-by: Ying Xie <[email protected]>
qiluo-msft
pushed a commit
that referenced
this pull request
Feb 9, 2023
``` 39cdb49c7 [202012][show] Add bgpraw to show run all (#2639) b3ebba2ca [202012][show] add new CLI to show tunnel route objects #2255 (#2659) d08f59b9f Fixed a bug in "show vnet routes all" causing screen overrun. (#2644) (#2654) a996abdb5 [202012][show] show logging CLI support for logs stored in tmpfs (#2652) c60f771c0 [202012][show_bfd] add local discriminator in show bfd command (#2616) ```
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
start() is called by service startPre method, which is blocking. Starting syncd service here is causing deadlock.
attach() is called by service start method, which is non-blocking. Starting syncd service here is fine.
Signed-off-by: Ying Xie [email protected]
- How to verify it
Tested following scenarios:
(Note that we don't support cold restart syncd).