From 65626c89252f24d72add790d6839b522c593d7c3 Mon Sep 17 00:00:00 2001 From: Sumukha Tumkur Vani Date: Thu, 28 Oct 2021 09:31:38 -0700 Subject: [PATCH] Flush RESTAPI DB upon config reload (#9093) --- files/scripts/swss.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/scripts/swss.sh b/files/scripts/swss.sh index 25e948e5e6..63e8ba8944 100755 --- a/files/scripts/swss.sh +++ b/files/scripts/swss.sh @@ -146,6 +146,7 @@ start() { $SONIC_DB_CLI ASIC_DB FLUSHDB $SONIC_DB_CLI COUNTERS_DB FLUSHDB $SONIC_DB_CLI FLEX_COUNTER_DB FLUSHDB + $SONIC_DB_CLI RESTAPI_DB FLUSHDB clean_up_tables STATE_DB "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'LAG_TABLE*', 'LAG_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*', 'VRF_TABLE*', 'FDB_TABLE*', 'FG_ROUTE_TABLE*', 'BUFFER_POOL*', 'BUFFER_PROFILE*', 'MUX_CABLE_TABLE*'" fi