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

[fast-reboot] save fast-reboot state into the db #780

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dawnbeauty
Copy link

@dawnbeauty dawnbeauty commented Jan 10, 2020

Fixes sonic-net/sonic-buildimage#4006

1.(This PR) save fast-reboot state into the db when execute fast-reboot(aligned with sonic-net/sonic-buildimage#3741)
2. (sonic-net/sonic-buildimage#4008)Later, during the syncd service stop stage, sonic-buildimage/files/scripts/syncd.sh could detect the FAST mode by the saved state, and request syncd to trigger fast shutdown.

Fixes sonic-net/sonic-buildimage#4006

1. save fast-reboot state into the db(aligned with sonic-net/sonic-buildimage#3741)
2. `sonic-buildimage/files/scripts/syncd.sh` could detect the FAST reboot type by the saved fast-reboot state, and request syncd to fast shutdown.
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.

Request incorrect shutdown type when fast reboot
1 participant