diff --git a/pkg/jobs/job_info_storage.go b/pkg/jobs/job_info_storage.go index 58cd49cef241..5fdad0af0c9f 100644 --- a/pkg/jobs/job_info_storage.go +++ b/pkg/jobs/job_info_storage.go @@ -237,7 +237,10 @@ func (i InfoStorage) Write(ctx context.Context, infoKey string, value []byte) er if value == nil { return errors.AssertionFailedf("missing value (infoKey %q)", infoKey) } - return i.write(ctx, infoKey, value) + if err := i.write(ctx, infoKey, value); err != nil { + return MaybeGenerateForcedRetryableError(ctx, i.txn.KV(), err) + } + return nil } // Delete removes the info record for the provided infoKey.