Sync database and repos

Hello,

Yesterday I had a problem with jobs being “enqueued” on http://gitlab/admin/background_jobs
I had 6 post_receive jobs that were stuck and new background jobs weren’t processed so we couldn’t use Gitlab with MR, etc, anymore.

After rebooting the server, it now works but I’ve lost information on the 6 jobs that were stuck. For example, one commit does not show up in its merge request on the interface on Gitlab.

Could I do some sort of a “sync” between the repos and the database in order to take those in action ?

Some relevant issues are : https://gitlab.com/gitlab-com/support-forum/issues/1036 (with “At the moment, no. I think we should create an issue to synchronize the database commits with the actual repo” but I couldn’t find how to do it), https://gitlab.com/gitlab-com/support-forum/issues/575 or https://gitlab.com/gitlab-org/gitlab-ce/issues/368