Delete PROC_INFO table in APPL_DB using DEL command during non warm-reboot scenario

Signed-off-by: Mihir Patel <patelmi@microsoft.com>
This commit is contained in:
Mihir Patel 2023-06-13 23:29:52 +00:00
parent ecb4db58a9
commit 9a67b2dc6b

View File

@ -167,7 +167,8 @@ start() {
# Don't flush DB during warm boot # Don't flush DB during warm boot
if [[ x"$WARM_BOOT" != x"true" ]]; then if [[ x"$WARM_BOOT" != x"true" ]]; then
debug "Flushing APP, ASIC, COUNTER, CONFIG, and partial STATE databases ..." debug "Flushing APP, ASIC, COUNTER, CONFIG, and partial APPL and STATE databases ..."
clean_up_tables APPL_DB "'PROC_INFO*'"
$SONIC_DB_CLI APPL_DB FLUSHDB $SONIC_DB_CLI APPL_DB FLUSHDB
$SONIC_DB_CLI ASIC_DB FLUSHDB $SONIC_DB_CLI ASIC_DB FLUSHDB
$SONIC_DB_CLI COUNTERS_DB FLUSHDB $SONIC_DB_CLI COUNTERS_DB FLUSHDB