Upgraded to 14.1.8 but have pending migration

I have upgraded one of our instances following 13.12.15 → 14.0.12 → 14.1.8 and it appears that one of the database background migrations is stuck on pending.
I wondered if anyone else has had an issue with this migration? I have left it for almost 48 hours and it is still sat at pending.

gitlab-rails runner -e production 'puts Gitlab::Database::BackgroundMigrationJob.pending[0].pretty_inspect'

 id: 3,
 created_at: Thu, 28 Apr 2022 22:08:16.086878000 UTC +00:00,
 updated_at: Thu, 28 Apr 2022 22:08:16.086878000 UTC +00:00,
 status: "pending",
 class_name: "BackfillDraftStatusOnMergeRequests",
 arguments: [185, 219]>

I have tried to re-run as per Upgrading GitLab | GitLab[Restart Pending Migration]

 Ruby:         ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
 GitLab:       14.1.8 (9d8642e1d6b) FOSS
 GitLab Shell: 13.19.1
 PostgreSQL:   12.7
Loading production environment (Rails
irb(main):001:0>   result = Gitlab::BackgroundMigration.perform(job.class_name, job.arguments)
  puts "Result: #{result}"
irb(main):001:1* Gitlab::Database::BackgroundMigrationJob.pending.find_each do |job|
irb(main):002:1*   puts "Running pending job '#{job.class_name}' with arguments #{job.arguments}"
irb(main):003:1*   result = Gitlab::BackgroundMigration.perform(job.class_name, job.arguments)
irb(main):004:1*   puts "Result: #{result}"
irb(main):005:0> end
Running pending job 'BackfillDraftStatusOnMergeRequests' with arguments [185, 219]
=> nil

and gitlab-rake db:migrate but it didn’t appear to do anything.

The migration shows as up

   up     20210609202501  Schedule backfill draft status on merge request

I can set it as completed but unsure if it has actually ran, and for some reason has not updated in the database or not.
Gitlab::Database::BackgroundMigrationJob.mark_all_as_succeeded('BackfillDraftStatusOnMergeRequests', [185,219])

As it turns out I do also. I am preparing to go from 14.8 to 14.10 on my production server and my test server had some problems with stuck migrations that made me want to check before do the production server. I have cleared up the version-specific ones that were mentioned at Upgrading GitLab | GitLab but this exact one is still hanging around, since Aug, 2021 as it turns out so I have given it 48 hours also I would say.

I am reporting that I am seeing it.

As I understand what this particular job is supposed to do from

it makes sure that field draft it set to true for merge requests in state 1 with a title of “draft” or “WIP”.

since running gitlab-psql

psql> SELECT id,state_id, draft, title FROM merge_requests where draft = 'f' AND state_id = 1 AND title ~* '^\\[draft\\]|\\(draft\\)|draft:|draft|\\[WIP\\]|WIP:|WIP' ;

finds no lines, I have concluded that it is done for my instance.

I think I am going to take your suggestion of how to mark it as complete with thanks. Hopefully I am not buying myself grief in the future.