mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-20 08:10:26 -06:00
debug: more logs
This commit is contained in:
@@ -1247,11 +1247,14 @@ func (r *OLAPRepositoryImpl) UpdateDAGStatuses(ctx context.Context, tenantIds []
|
|||||||
}
|
}
|
||||||
|
|
||||||
for i := 0; i < NUM_PARTITIONS; i++ {
|
for i := 0; i < NUM_PARTITIONS; i++ {
|
||||||
|
fmt.Println("running dag status updates for partition", i)
|
||||||
partitionNumber := i
|
partitionNumber := i
|
||||||
|
|
||||||
eg.Go(func() error {
|
eg.Go(func() error {
|
||||||
tx, commit, rollback, err := sqlchelpers.PrepareTx(ctx, r.pool, r.l, 30000)
|
tx, commit, rollback, err := sqlchelpers.PrepareTx(ctx, r.pool, r.l, 30000)
|
||||||
|
|
||||||
|
fmt.Println("prepared tx")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to prepare transaction: %w", err)
|
return fmt.Errorf("failed to prepare transaction: %w", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user