Skip to content

Commit 5c8650a

Browse files
yxiecalguohan
authored andcommitted
[swss service] don't clear WARM_RESTART table (#2256)
Clear WARM_RESTART table could cause component level warm restart to fail due to missing WARM_RESTART state. Signed-off-by: Ying Xie <[email protected]>
1 parent 8598cca commit 5c8650a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/scripts/swss.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ start() {
9393
/usr/bin/docker exec database redis-cli -n 0 FLUSHDB
9494
/usr/bin/docker exec database redis-cli -n 2 FLUSHDB
9595
/usr/bin/docker exec database redis-cli -n 5 FLUSHDB
96-
clean_up_tables 6 "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*', 'WARM_RESTART_TABLE*'"
96+
clean_up_tables 6 "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*'"
9797
fi
9898

9999
# start service docker

0 commit comments

Comments
 (0)