Skip to content

Commit

Permalink
upgradejob: initialize the kvdb on TenantDeps
Browse files Browse the repository at this point in the history
The KVDB field was created as part of PR cockroachdb#93218, but it was never
initialized.

Part of cockroachdb#94843

Release Note: None
  • Loading branch information
jeffswenson committed Mar 13, 2023
1 parent 9568438 commit bcbf16e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/upgrade/upgradejob/upgrade_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func (r resumer) Resume(ctx context.Context, execCtxI interface{}) error {
Codec: execCtx.ExecCfg().Codec,
Settings: execCtx.ExecCfg().Settings,
DB: execCtx.ExecCfg().InternalDB,
KVDB: execCtx.ExecCfg().DB,
LeaseManager: execCtx.ExecCfg().LeaseManager,
InternalExecutor: ex,
JobRegistry: execCtx.ExecCfg().JobRegistry,
Expand Down

0 comments on commit bcbf16e

Please sign in to comment.