Skip to content

Commit

Permalink
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 8, 2021
1 parent f15645a commit c49a740
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/images/ovn-is-leader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ then
else
kubectl label pod "$POD_NAME" -n "$POD_NAMESPACE" ovn-sb-leader-
fi

ovn-appctl -t /var/run/ovn/ovnnb_db.ctl ovsdb-server/compact
ovn-appctl -t /var/run/ovn/ovnsb_db.ctl ovsdb-server/compact

0 comments on commit c49a740

Please sign in to comment.