Hi!
Can somebody tell me what trigger a PR rescope of 10k repos after we upgrade PostgreSQL from 9.6 to 13.6?
We upgrade it through pg_dump + pg_restore and after we start db and app - app nodes generate a lot of select request to DB because of DefaultPullRequestRescopeService, which mark 10k repos to rescope.
LA at database rise to 70-100(16 core/32gb) and Dashboard page take 20-60s to open.
All other parts of bitbucker work like before.
we cannot find any reason for that process and whats trigger the pr rescope.
All process take 4 hours, after that time LA down and Dashboard page works perfect
Bitbucket server 7.10.6
PostgreSQL 13.6.1
Rhel 7