Re:GitLab 8.16 Released with auto deploy on GKE and Promethe...
by rabbitfang48 on Tuesday January 24, 2017 @12:29PM
(#13473439)
It looks like [0] & [1] are the relevant DB migration scripts. GitLab.com is used to test new release candidate versions in a production environment before it is shipped. I'm guessing the 10-15 minute number came from how long it took them to run it on their systems. They do have staging environments where they run migrations (and test new code) on stale prod data as well.
[0]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/db/migra...
[1]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/db/migra...
>This release migrates project related statistics to a separate table, removing existing columns in the process. This migration process requires downtime, and can take 10-15 minutes for large installations.
Any place i can eyeball this upgrade script first?
Incidentally, Im curious to know (to try and learn) how do you guys test this kind of stuff? do you have lots of different databases saved over that you try this kind of a major db upgrade on?