cockroachdb / cockroachdb/cockroach

use redactable string type in the job progress proto

Open
#150,233 0 comments 0 reactions 0 assignees View on GitHub
A-jobs C-enhancement P-3 T-jobs
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

For privacy, this protobuf should use the

The proto in question:
https://github.com/cockroachdb/cockroach/blob/ec83247f224b6a28433445353579d8271ce5afca/pkg/jobs/jobspb/jobs.proto#L1604-L1607

An example:
https://github.com/cockroachdb/cockroach/blob/ec83247f224b6a28433445353579d8271ce5afca/pkg/sql/schemachanger/scpb/scpb.proto#L105

Jira issue: CRDB-52616

Epic CRDB-50858

Contributor guide

Open the contributing guide

Research direction

Start at pkg/jobs/jobspb/jobs.proto lines 1604-1607 and compare the redactable-string example at pkg/sql/schemachanger/scpb/scpb.proto line 105. Clarify which job progress field is intended, then update the proto so it follows that redactable pattern and verify the resulting definition matches the privacy requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.