Skip to content

Commit

Permalink
SET "SWSS_DB_FLUSH_DONE" to 0 upon swss service stop
Browse files Browse the repository at this point in the history
Signed-off-by: Jipan Yang <[email protected]>
  • Loading branch information
jipanyang committed Mar 1, 2019
1 parent 1d4c2c7 commit af6fac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/scripts/swss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ stop() {

# if warm start enabled or peer lock exists, don't stop peer service docker
if [[ x"$WARM_BOOT" != x"true" ]]; then
/usr/bin/docker exec database redis-cli -n 0 SET "SWSS_DB_FLUSH_DONE" "0"
/bin/systemctl stop ${PEER}
fi
}
Expand Down

0 comments on commit af6fac8

Please sign in to comment.