diff --git a/pkg/sql/backfill/backfill.go b/pkg/sql/backfill/backfill.go index 4b4f0c18ebc2..c1db5289f33d 100644 --- a/pkg/sql/backfill/backfill.go +++ b/pkg/sql/backfill/backfill.go @@ -335,7 +335,7 @@ func (cb *ColumnBackfiller) RunColumnBackfillChunk( // read or used if err := cb.fetcher.StartScan( ctx, []roachpb.Span{sp}, nil, /* spanIDs */ - rowinfra.GetDefaultBatchBytesLimit(false /* forceProductionValue */), + rowinfra.GetDefaultBatchBytesLimit(cb.evalCtx.TestingKnobs.ForceProductionValues), chunkSize, ); err != nil { log.Errorf(ctx, "scan error: %s", err) @@ -864,7 +864,7 @@ func (ib *IndexBackfiller) BuildIndexEntriesChunk( defer fetcher.Close(ctx) if err := fetcher.StartScan( ctx, []roachpb.Span{sp}, nil, /* spanIDs */ - rowinfra.GetDefaultBatchBytesLimit(false /* forceProductionValue */), + rowinfra.GetDefaultBatchBytesLimit(ib.evalCtx.TestingKnobs.ForceProductionValues), initBufferSize, ); err != nil { log.Errorf(ctx, "scan error: %s", err)