+++ This bug was initially created as a clone of Bug #471198 +++ The reason we're making this change, is that the current delete_server_bulk (which is only invoked from the SSM delete-servers page) is running as One Gigantic Transaction. THis is...bad. In a lot of ways, really. You'd be *amazed* at how many tables get locked, for how long, when this damn thing runs on a large DB with many servers involved. Large satellites are going to have the same issues. if I'd been thinking, I'd have poked y'all earlier. How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Changed in git commit 97f2b7f643064c51c2d6b4860ae48ca82983ba3a 471199 - added delete_server and delete_server_bulk to upgrades ... commit 3eeedaeb12b1a9657bfd668eb35519ec2fc0a31e 471199 - replace for...delete with forall...delete
Package spacewalk-schema-0.4.2-1.
we are still able to delete servers, which is good. Dunno how to test the speed for huge amount of server... VERIFIED