-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migration: utilize jobs for long-running migrations #58183
Comments
Hi @ajwerner, please add a C-ategory label to your issue. Check out the label system docs. While you're here, please consider adding an A- label to help keep our repository tidy. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
The work to do this is on irfansharif#2. It skewed with the branch from which I did the refactor. |
What's the next step here? |
Circling back on this, I'm going to deal with the skew on master and make a PR. |
This commit introduces a job to run long-running migration. This empowers long-running migrations with leases, pausability, and cancelability. Fixes cockroachdb#58183 Release note: None
This commit introduces a job to run long-running migration. This empowers long-running migrations with leases, pausability, and cancelability. Fixes cockroachdb#58183 Release note: None
This commit introduces a job to run long-running migration. This empowers long-running migrations with leases, pausability, and cancelability. Fixes cockroachdb#58183 Release note: None
This commit introduces a job to run long-running migration. This empowers long-running migrations with leases, pausability, and cancelability. Fixes cockroachdb#58183 Release note: None
59760: migration,jobs: refactor long-running migrations and hook up job r=ajwerner a=ajwerner This PR comes in three commits. The first commit reworks the package structure of long-running migrations a bit. The second introduces a migration job. The third introduces a `system.migrations` table to store completion state for migrations. The idea is that running long-running migrations in a job is handy because it provides leasing, observability, and control to users. Fixes #58183. Co-authored-by: Andrew Werner <[email protected]>
Utilizing jobs for long-running migrations comes with benefits. Namely you can pause them. You get visibility into the fact that they are running. You also get other niceties that come with jobs like stats, the file to stop adoption, etc. This issue is a placeholder for work to update #57694 to utilize jobs for individual migrations.
The text was updated successfully, but these errors were encountered: