debug: more logs

This commit is contained in:
mrkaye97
2025-10-10 21:01:19 -04:00
parent 8fda64adc4
commit 95da7de64f

View File

@@ -1247,11 +1247,14 @@ func (r *OLAPRepositoryImpl) UpdateDAGStatuses(ctx context.Context, tenantIds []
}
for i := 0; i < NUM_PARTITIONS; i++ {
fmt.Println("running dag status updates for partition", i)
partitionNumber := i
eg.Go(func() error {
tx, commit, rollback, err := sqlchelpers.PrepareTx(ctx, r.pool, r.l, 30000)
fmt.Println("prepared tx")
if err != nil {
return fmt.Errorf("failed to prepare transaction: %w", err)
}