Skip to content

Commit

Permalink
OpenStack: Optimize cluster deletion
Browse files Browse the repository at this point in the history
Previously each destroy function would exit on the first conflict and
it was expected to retry on a next iteration, hoping that in the mean
time the conflict that prevented removal of the resource was fixed.
While this strategy works, it is also slower then necessary. A better
strategy is to try deleting all resources and ignore the ones that have
conflicts. On the next iteration there will be less conflicts.

This patch was tested on a openstack cluster with openshiftSDN, and
we observed a 37% faster cluster deletion. I expect the performance
boost to be significantly higher for clusters using kuryr.
  • Loading branch information
mandre committed Jun 21, 2021
1 parent e1e4b2a commit 3cb8ed4
Showing 1 changed file with 107 additions and 41 deletions.

0 comments on commit 3cb8ed4

Please sign in to comment.