File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ LOCKFILE="/tmp/swss-syncd-lock"
7
7
8
8
function debug()
9
9
{
10
+ /usr/bin/logger $1
10
11
/bin/echo ` date` " - $1 " >> ${DEBUGLOG}
11
12
}
12
13
@@ -90,6 +91,7 @@ start() {
90
91
91
92
# Don't flush DB during warm boot
92
93
if [[ x" $WARM_BOOT " != x" true" ]]; then
94
+ debug " Flushing databases ..."
93
95
/usr/bin/docker exec database redis-cli -n 0 FLUSHDB
94
96
/usr/bin/docker exec database redis-cli -n 2 FLUSHDB
95
97
/usr/bin/docker exec database redis-cli -n 5 FLUSHDB
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ LOCKFILE="/tmp/swss-syncd-lock"
7
7
8
8
function debug()
9
9
{
10
+ /usr/bin/logger $1
10
11
/bin/echo ` date` " - $1 " >> ${DEBUGLOG}
11
12
}
12
13
@@ -88,7 +89,8 @@ start() {
88
89
else
89
90
rm -f /host/warmboot/warm-starting
90
91
91
- # Flush DB during non-warm start
92
+ # Flush ASIC DB during non-warm start
93
+ debug " Flushing ASIC database ..."
92
94
/usr/bin/docker exec database redis-cli -n 1 FLUSHDB
93
95
fi
94
96
You can’t perform that action at this time.
0 commit comments