diff --git a/pkg/upgrade/upgradejob/upgrade_job.go b/pkg/upgrade/upgradejob/upgrade_job.go index b1b199a6db52..a790b1c77e71 100644 --- a/pkg/upgrade/upgradejob/upgrade_job.go +++ b/pkg/upgrade/upgradejob/upgrade_job.go @@ -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,