Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.4.2
-
1
-
Severity 2 - Major
-
0
-
Description
Issue Summary
Async database upgrade tasks don't run unless the server is restarted. Changing Bitbucket database using the database migration tool without doing a restart will mean that these upgrade tasks don't run.
Steps to Reproduce
- Use database migration to change to a different database
- Don't restart the upgraded server
Expected Results
Entire database should be migrated to the new database, including any async tasks. (For example the idx_bb_build_status_commit_id index on bb_build_status should be present.)
Actual Results
Async database upgrade tasks are not run.
Workaround
Restart the server