Skip to content

Commit

Permalink
append add db compact for nb and sb db
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzhen-ma committed Dec 9, 2021
1 parent eb06f85 commit 490590a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/images/ovn-is-leader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ else
kubectl label pod "$POD_NAME" -n "$POD_NAMESPACE" ovn-sb-leader-
fi

set +e
ovn-appctl -t /var/run/ovn/ovnnb_db.ctl ovsdb-server/compact
ovn-appctl -t /var/run/ovn/ovnsb_db.ctl ovsdb-server/compact
echo ""

0 comments on commit 490590a

Please sign in to comment.