Skip to content
Snippets Groups Projects

Finish BigInt column swap for self-hosted installations

Merged Laura Montemayor requested to merge ensure-build-needs-bigint-backfill-self-hosted into master
All threads resolved!

What does this MR do and why?

Finish BigInt column swap for self-hosted installations

UP:

main: == [advisory_lock_connection] object_id: 228440, pg_backend_pid: 50289
main: == [advisory_lock_connection] object_id: 228440, pg_backend_pid: 50289
ci: == [advisory_lock_connection] object_id: 228580, pg_backend_pid: 50292
ci: == 20230613192703 EnsureCiBuildNeedsBigIntBackfillIsFinishedForSelfHosts: migrating
ci: -- The migration is skipped since it modifies the schemas: [:gitlab_main].
ci: -- This database can only apply migrations in one of the following schemas: [:gitlab_ci, :gitlab_internal, :gitlab_shared].
ci: == 20230613192703 EnsureCiBuildNeedsBigIntBackfillIsFinishedForSelfHosts: migrated (0.0119s)

ci: == 20230613192802 SwapCiBuildNeedsToBigIntForSelfHosts: migrating =============
ci: == 20230613192802 SwapCiBuildNeedsToBigIntForSelfHosts: migrated (0.0115s) ====

ci: == [advisory_lock_connection] object_id: 228580, pg_backend_pid: 50292

❯ rails db:migrate:down:ci VERSION='20230613192703':

ci: == [advisory_lock_connection] object_id: 228120, pg_backend_pid: 61903
ci: == 20230613192703 EnsureCiBuildNeedsBigIntBackfillIsFinishedForSelfHosts: reverting
ci: -- The migration is skipped since it modifies the schemas: [:gitlab_main].
ci: -- This database can only apply migrations in one of the following schemas: [:gitlab_ci, :gitlab_internal, :gitlab_shared].
ci: == 20230613192703 EnsureCiBuildNeedsBigIntBackfillIsFinishedForSelfHosts: reverted (0.0097s)

ci: == [advisory_lock_connection] object_id: 228120, pg_backend_pid: 61903

❯ rails db:migrate:down:ci VERSION='20230613192802':

ci: == [advisory_lock_connection] object_id: 227740, pg_backend_pid: 62330
ci: == 20230613192802 SwapCiBuildNeedsToBigIntForSelfHosts: reverting =============
ci: == 20230613192802 SwapCiBuildNeedsToBigIntForSelfHosts: reverted (0.0082s) ====

ci: == [advisory_lock_connection] object_id: 227740, pg_backend_pid: 62330

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Resolves: #415390 (closed)

Edited by Laura Montemayor

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Laura Montemayor added 1165 commits

    added 1165 commits

    Compare with previous version

  • added 1 commit

    • 8a9f101a - Updates gitlab_schema and ignores column

    Compare with previous version

  • A deleted user added backend label

    added backend label

  • added 1 commit

    Compare with previous version

  • Krasimir Angelov
  • added 1 commit

    • 159e8e8d - Updates gitlab_schema and ignores column

    Compare with previous version

  • Krasimir Angelov approved this merge request

    approved this merge request

  • Krasimir Angelov requested review from @ebaque and removed review request for @krasio

    requested review from @ebaque and removed review request for @krasio

  • :wave: @krasio, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.

    For more info, please refer to the following links:

  • added 1 commit

    • c82622c9 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Etienne Baqué approved this merge request

    approved this merge request

  • Etienne Baqué requested review from @drew and removed review request for @ebaque

    requested review from @drew and removed review request for @ebaque

  • drew stachon approved this merge request

    approved this merge request

  • drew stachon changed milestone to %16.2

    changed milestone to %16.2

  • drew stachon resolved all threads

    resolved all threads

  • drew stachon enabled an automatic merge when the pipeline for 3460e423 succeeds

    enabled an automatic merge when the pipeline for 3460e423 succeeds

  • merged

  • Hello @lauraX :wave:

    The database team is looking for ways to improve the database review process and we would love your help!

    If you'd be open to someone on the database team reaching out to you for a chat, or if you'd like to leave some feedback asynchronously, just post a reply to this comment mentioning:

    @gitlab-org/database-team

    And someone will be by shortly!

    Thanks for your help! :heart:

    This message was generated automatically. You're welcome to improve it.

  • drew stachon mentioned in commit a6b9f4e4

    mentioned in commit a6b9f4e4

  • added workflowstaging label and removed workflowcanary label

  • mentioned in issue #389344 (closed)

  • Krasimir Angelov mentioned in merge request !126763 (merged)

    mentioned in merge request !126763 (merged)

  • mentioned in issue #419593 (closed)

  • mentioned in issue #421671 (closed)

  • Ben Prescott_ mentioned in merge request !129456 (merged)

    mentioned in merge request !129456 (merged)

  • Ben Prescott_ mentioned in issue #504348

    mentioned in issue #504348

  • Please register or sign in to reply
    Loading