refactor: rename batch-related variables and functions for consistency and clarity

This commit is contained in:
2026-04-11 00:44:12 -05:00
parent 955bc65ce9
commit 7830ae862d
5 changed files with 33 additions and 33 deletions

View File

@@ -44,7 +44,7 @@ func processMigrationJob(
jobCtx, cancel := context.WithCancel(ctx)
defer cancel()
partitions, err := partitionGeneratorMssql(jobCtx, sourceDb, job.SourceTable, job.RowsPerBatch)
partitions, err := partitionGeneratorMssql(jobCtx, sourceDb, job.SourceTable, job.RowsPerPartition)
if err != nil {
log.Error("Unexpected error calculating batch ranges: ", err)
}
@@ -81,7 +81,7 @@ func processMigrationJob(
jobCtx,
job.SourceTable,
sourceColTypes,
job.ChunkSize,
job.BatchSize,
chPartitions,
chBatchesRaw,
chExtractorErrors,