Sorry I will be on PTO next week and I will not be able to complete this review.
1 year, 6 months, 2 weeks, 2 days, 16 hours, 36 minutes, and 12 seconds
The current estimation seems still a bit off, can we check with the groupvulnerability-management to see if this is the best way to achieve this migration.
I changed the direction of this MR and implemented the stale scope to make sure running jobs get picked up and the worker finalized.
I think this will better solve our current problem, let me know what you think
Quick thing: Do we want to re-enable the old cron job? I'm afraid we don't have any active process deleting these emails.
Yes I was considering bringing it back as well, opened up BBO - Disable UnconfirmedSecondaryEmailsDeletio... (!225654 - merged).
Do we want to check this separately? In this condition, I think we'll finalize the worker even if we still have pending jobs:
Yes, I think we need the stale scope to make sure we don't finalize the worker in this situation.
Max Orefice (5bee4ff7) at 13 Mar 14:45
BBO - Handle stale running jobs
This MR reverts !225654.
It enables back the old worker UnconfirmedSecondaryEmailsDeletionCronWorker to make sure we continue to delete secondary emails.
Max Orefice (5723497d) at 13 Mar 14:19
Revert "Merge branch 'morefice/disable-unconfirmed-secondary-email-...
This adds the implementation ADR to the Artifact Registry blueprint. See gitlab-org/gitlab#590282.
Related Issue: gitlab-org/gitlab#590365
Action items:
Please verify the check list and ensure to tick them off before the MR is merged.
question (not-blocking): Curious how the orphan check discovery/clean up will be done.
I'm fine with both approaches, text with limit is simpler and fine for an ADR, lookup table can come at implementation time.
Thanks great work, the Database is in good shape, approved
VALUES (123, 'abcd1234efgh5678...'::bytea, 1048576, 'key')question: Is the limit big enough here?
Same question for other url fields.
max_cursor is reached, BBO - Handle stale running jobs (gitlab!226845 - merged)
/cc @l.rosa @praba.m7n
I've actually added back reverse_lock_order: true with :projects as the target.
It think this can still avoid deadlocks with concurrent queries.
Max Orefice (a84b21d7) at 13 Mar 09:29
Pass target table to enable reverse_lock_order on FK removal
Sorry I'm at capacity and will not be able to review this MR today.
Not sure how likely is to have a single records on
issue_metricsthough.
This is a bigint conversion which uses a different codepath, so they shouldn't be impacted isn't it?
It calls ensure_backfill_conversion_of_integer_to_bigint_is_finished which goes through BigintConverter.
This also means that the original migration
20260302103000will also be executed later, though it should be a no-op at this time as the affected background migration should be executed at this point.
Yes, the original migration 20260302103000 will run later on upgrade to %18.10 but will be a no-op since the affected BBMs would have already been re-executed by then.
Not if the finalized migration was already executed (for example in previous upgrades to 18.9.X).
Oh I thought the scheduler will pick them up regardless of their status (0 or 1).
Updated the status in !227004 (9df3f5d0)
It's the same for the original migration too.
Do we also need to change it to active Retry BBMs affected by single-record bug (!225461 - merged)?