Expire tags/branches repo cache before delete a repository
What does this MR do?
Explicitly expire tag and branch cache data before deleting a repository. Those keys don't depend on git data when they are expired
Why was this MR needed?
To solve an existing problem https://sentry.gitlap.com/gitlab/gitlabcom/issues/8756/
What are the relevant issue numbers?
Closes #20011 (closed)
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added [ ] Documentation created/updated[ ] API support added- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together