-
由 Dylan Griffith 创作于
The OverdueFinalizeBackgroundMigration keep is a script that is run in CI for generating merge requests to [finalize batched background migrations](https://docs.gitlab.com/ee/development/database/batched_background_migrations.html#finalize-a-batched-background-migration). Per our documentation we can only finalize a batched background migration added before the last "required stop" which is the minimum versin someone must upgrade to before they can upgrade to this version of the code. We were hardcoding that version in the keep before but now we have MIN_SCHEMA_GITLAB_VERSION which is exactly for this purpose we don't need to hardcode it anymore. We also changed from `<` to `<=` now that this version refers to the version of the last required stop rather than the first version after it.
由 Dylan Griffith 创作于The OverdueFinalizeBackgroundMigration keep is a script that is run in CI for generating merge requests to [finalize batched background migrations](https://docs.gitlab.com/ee/development/database/batched_background_migrations.html#finalize-a-batched-background-migration). Per our documentation we can only finalize a batched background migration added before the last "required stop" which is the minimum versin someone must upgrade to before they can upgrade to this version of the code. We were hardcoding that version in the keep before but now we have MIN_SCHEMA_GITLAB_VERSION which is exactly for this purpose we don't need to hardcode it anymore. We also changed from `<` to `<=` now that this version refers to the version of the last required stop rather than the first version after it.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。