umamao/umamao — pull request #326 by panaggio (2011-10-21 17:45:33+00:00)
Title: Prune topics

Destroying a topic can consume a lot of time, because of it's dependencies. As we want to remove topics that are not used, I've had to delete (and not destroy) these topics.

To keep references up-to-date, I've implemented several rake tasks that will be helpful to prevent data corruptions and bad references.

Please take a good look into this code. And If possible, let's test it on the staging server before running everything in production. I've tested it locally, but I couldn't test the full pipeline at once.