From 5c8650aaaa5dba8d5949c90b3b6c521a42493f0e Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Thu, 15 Nov 2018 22:04:53 -0800 Subject: [PATCH] [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 --- files/scripts/swss.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/scripts/swss.sh b/files/scripts/swss.sh index a026ad2f60..70b81383fa 100755 --- a/files/scripts/swss.sh +++ b/files/scripts/swss.sh @@ -93,7 +93,7 @@ start() { /usr/bin/docker exec database redis-cli -n 0 FLUSHDB /usr/bin/docker exec database redis-cli -n 2 FLUSHDB /usr/bin/docker exec database redis-cli -n 5 FLUSHDB - clean_up_tables 6 "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*', 'WARM_RESTART_TABLE*'" + clean_up_tables 6 "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*'" fi # start service docker