cockroachdb / cockroachdb/cockroach
jobs: isolate the job system by type
Open
A-jobs
C-bug
T-jobs
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We recently observed an issue where a large number of `GC SCHEMA CHANGE` jobs prevented other jobs in the system from running. The starved jobs were holding PTS records, which in turn blocked `GC SCHEMA CHANGE` jobs.
Ideally the job system should have some isolation between job types. Either by limiting the number of jobs allowed per type or reworking the claim loop to try to implement fairness between different jobs.
Jira issue: CRDB-50728
Epic CRDB-50858
Contributor guide
Assessment
This issue has not been assessed yet.