Bruno PradoB
Convex Community6mo ago
5 replies
Bruno Prado

Convex Deployment Frozen after Aggregations clearing

After running this:

export const clearAllOrderAggregations = migrations.define({
  table: 'orders',
  migrateOne: async (ctx, order) => {
    await ordersAggregate.clear(ctx, { namespace: order.tenantId })
    await ordersByDayAggregate.clear(ctx, { namespace: order.tenantId })
    await ordersByCustomerAggregate.clear(ctx, { namespace: order.customerId })
  }
})


Production is working, but Deployment is frozen.
Was this page helpful?