You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migration for updating int to bigint takes long time for large Concourse deployments #8499
We need to add a migration that alters the build.rerun_of column. The builds table is usually massive, so this causes the migration time to really blow up. Ideally operators should shut all web nodes down and do the migration while nothing else is interacting with the database.
This problem is tricky. We couldn't find a performant way to make the migration happen. Basically:
I'm going to go with the old/new column thing again. It's annoying since we're stuck with the tech debt, but it's hard to ship a proper migration like #6203 tried to in an OSS project.
Activity
taylorsilva commentedon Dec 23, 2024
See #8626
We need to add a migration that alters the
build.rerun_ofcolumn. The builds table is usually massive, so this causes the migration time to really blow up. Ideally operators should shut all web nodes down and do the migration while nothing else is interacting with the database.This problem is tricky. We couldn't find a performant way to make the migration happen. Basically:
So we're basically still stuck with the issue reported in #9029
Do we bite the bullet and just try altering the column? Or do we do another old/new column thing again?
taylorsilva commentedon Dec 16, 2025
I'm going to go with the old/new column thing again. It's annoying since we're stuck with the tech debt, but it's hard to ship a proper migration like #6203 tried to in an OSS project.