feat: refactor transformation logic in MSSQL processing to use context and improve error handling

This commit is contained in:
2026-04-08 21:47:24 -05:00
parent 7924dd3af7
commit 554618daad
2 changed files with 120 additions and 48 deletions

View File

@@ -81,7 +81,7 @@ func processMigrationJob(sourceDb *sql.DB, targetDb *pgxpool.Pool, job Migration
transformStartTime := time.Now()
for range maxExtractors {
wgMssqlTransformers.Go(func() {
transformRowsMssql(sourceColTypes, chChunks, chChunksTransform, chJobErrors)
transformRowsMssql(ctx, sourceColTypes, chChunks, chChunksTransform, chJobErrors)
})
}