DefaultPullRequestRescopeService after db version upgrade

Dmitriy November 3, 2022


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

Снимок экрана 2022-11-01 в 11.08.23.pngСнимок экрана 2022-10-31 в 06.07.29.pngСнимок экрана 2022-11-02 в 09.49.36.png


0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events