cockroachdb / cockroachdb/cockroach
schemachange: Support DETACHED syntax to immediately return schema change job ID
Open
C-bug
E-starter
T-sql-foundations
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We should support an option, similar to the DETACHED option in changefeed/backup/restore, for schema change that returns the job ID immediately without waiting for the job to complete.
This adds values to customers who want to programmatically track their schema change jobs without having to query the jobs table again, as in, for example, https://github.com/cockroachdb/cockroach/issues/104387#issuecomment-1579385917.
Jira issue: CRDB-28621
Epic CRDB-42485
Contributor guide
Assessment
This issue has not been assessed yet.