Skip to content
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

[202205] Use warm-boot infrastructure for fast-boot #12026

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

arfeigin
Copy link
Contributor

@arfeigin arfeigin commented Sep 8, 2022

This PR is similar to #11594 - it is being raised as a different PR following discussion with Ying Xie.

This PR should be merged together with the sonic-utilities PR (sonic-net/sonic-utilities#2365) and sonic-sairedis PR (sonic-net/sonic-sairedis#1121).

Use redis contents from dump file in fast-reboot.

Why I did it

Improve fast-reboot flow by utilizing the warm-reboot infrastructure.
This followes https://github.com/sonic-net/SONiC/blob/master/doc/fast-reboot/Fast-reboot_Flow_Improvements_HLD.md

How I did it

Use redis contents from dump file in fast-reboot as it is being used in warm-reboot

How to verify it

Community test for fast-reboot

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@arfeigin arfeigin changed the title Use warm-boot infrastructure for fast-boot [202205] Use warm-boot infrastructure for fast-boot Sep 11, 2022
@arfeigin
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

vaibhavhd pushed a commit to sonic-net/sonic-utilities that referenced this pull request Sep 13, 2022
This PR is similar to #2286

This PR should be merged together with the sonic-sairedis PR (sonic-net/sonic-sairedis#1121) and sonic-buildimage PR (sonic-net/sonic-buildimage#12026).

Improve fast-reboot flow by using warm-reboot infrastructure.
Clear all routes except of default routes for faster reconciliation time.

Verified by community fast-reboot test, manual testing.
@arfeigin arfeigin merged commit b8c6e2a into sonic-net:202205 Sep 14, 2022
vaibhavhd pushed a commit to sonic-net/sonic-sairedis that referenced this pull request Sep 14, 2022
This PR is similar to #1100 
This PR should be merged together with sonic-utilities PR (sonic-net/sonic-utilities#2365) and sonic-buildimage PR (sonic-net/sonic-buildimage#12026).

Fast-reboot is utilizing warm-reboot infrastructure to improve its performance, but it should ignore warm-boot logic when syncd starts in fast-boot.
As well it shouldn't use temporary view between init and apply.
skbarista pushed a commit to skbarista/sonic-sairedis that referenced this pull request Dec 2, 2022
This PR is similar to sonic-net#1100 
This PR should be merged together with sonic-utilities PR (sonic-net/sonic-utilities#2365) and sonic-buildimage PR (sonic-net/sonic-buildimage#12026).

Fast-reboot is utilizing warm-reboot infrastructure to improve its performance, but it should ignore warm-boot logic when syncd starts in fast-boot.
As well it shouldn't use temporary view between init and apply.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants