This method had not been updated in a while
to account for changes in the db schema. Also,
it was refactored to use bulk delete statements
rather than iteration as the iteration approach
ran quite a long time and consumed quite a bit
of resources.
Change-Id: Ia49e801d3c244a1fabb8441e7eaa22b88e5fcb56
Closes-Bug: #1439518
(cherry picked from commit d3def2acee7e836263319bd64471816cf1de2540)
Reviewed: https:/ /review. openstack. org/224960 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=d76094c9d66 3fff479e7d95992 0420fb23cfd0d2
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit d76094c9d663fff 479e7d959920420 fb23cfd0d2
Author: Randall Burt <email address hidden>
Date: Mon Jul 13 18:35:09 2015 -0500
Refactor and correct purge_deleted
This method had not been updated in a while
to account for changes in the db schema. Also,
it was refactored to use bulk delete statements
rather than iteration as the iteration approach
ran quite a long time and consumed quite a bit
of resources.
Change-Id: Ia49e801d3c244a 1fabb8441e7eaa2 2b88e5fcb56 263319bd6447181 6cf1de2540)
Closes-Bug: #1439518
(cherry picked from commit d3def2acee7e836