-
Notifications
You must be signed in to change notification settings - Fork 684
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] set a fast-reboot DB flag #887
Conversation
- This flag is currently no functional impact with just this change. - This flag is intended to coordinate fast-reboot shutdown path. - This flag enables moving fast-reboot per service knowledge to service scripts. which unblocks moving warm-reboot per service knowledge to service scripts. - This flag is consistent with the bootup flag we setting on the boot up path. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
retest this please |
- This flag is currently no functional impact with just this change. - This flag is intended to coordinate fast-reboot shutdown path. - This flag enables moving fast-reboot per service knowledge to service scripts. which unblocks moving warm-reboot per service knowledge to service scripts. - This flag is consistent with the bootup flag we setting on the boot up path. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
{ | ||
common_clear | ||
|
||
redis-cli -n 6 DEL "FAST_REBOOT|system" &>/dev/null || /bin/true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should use sonic-db-cli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yxieca can we change this to sonic-db-cli ?
@@ -308,6 +315,7 @@ case "$REBOOT_TYPE" in | |||
"fast-reboot") | |||
BOOT_TYPE_ARG=$REBOOT_TYPE | |||
trap clear_fast_boot EXIT HUP INT QUIT TERM KILL ABRT ALRM | |||
redis-cli -n 6 SET "FAST_REBOOT|system" "1" "EX" "180" &>/dev/null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same , can we change this to sonic-db-cli ? @yxieca
- This flag is currently no functional impact with just this change. - This flag is intended to coordinate fast-reboot shutdown path. - This flag enables moving fast-reboot per service knowledge to service scripts. which unblocks moving warm-reboot per service knowledge to service scripts. - This flag is consistent with the bootup flag we setting on the boot up path. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
[Vxlan] : adding show vnet/vxlan cmds (sonic-net#880) [show][bgp] Use only 'show ip bgp' as the base and use bgp_frr_v4 file for FRR routing stack (sonic-net#884) [fast reboot] set a fast-reboot DB flag (sonic-net#887) [show] Add 'ip/ipv6 bgp network' commands (sonic-net#888)
- What I did
which unblocks moving warm-reboot per service knowledge to service scripts.
Signed-off-by: Ying Xie ying.xie@microsoft.com
- How to verify it
Did a quick fast-reboot test with the change.