Release Retention of Many Releases is Blocking Deployments

Good morning,

We’ve set a retention policy on a project that has not had a retention policy before. This project had over 20,000 releases defined which have now been queued for retention as tasks. When we look at our Tasks pane we see all Tasks (including system tasks and deployment tasks) waiting for these 20,000 “Deleting release X” tasks which are slowly executing at a rate of about 3 per minute meaning our server is going to be blocked for 4 days.

Is there an issue with our Octopus instance as to why these “Deleting release” tasks execute so slowly? If not, is there another way we can run the retention policy on the project without it blocking all tasks until the retention policy has executed?

Thanks in advance!

Hi Jason,

Thanks for getting in touch, and I’m sorry to hear you are having these issues.

We have had this reported previously and we have a GitHub issue to implement a fix (batch deletions instead of individual deletions) for this scenario as soon as possible.

My sincere apologies for the inconvenience caused by this issue.

Thank you and best regards,
Henrik

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.