cockroachdb / cockroachdb/cockroach
jobs: reduce per job type overhead
Open
A-jobs
C-cleanup
P-2
T-jobs
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Currently, each new job adds small but dumb overhead to crdb:
- we automatically create like 15 new metrics for each job. we have to stop this.
- each new job has to be added to these ghastly switch stmts: https://github.com/msbutler/cockroach/blob/master/pkg/jobs/jobspb/wrap.go#L177
Jira issue: CRDB-47309
Contributor guide
Assessment
This issue has not been assessed yet.