cockroachdb / cockroachdb/cockroach

jobs: reduce per job type overhead

Open
#140,711 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.