Closed
Description
pprofLabel>recoverWrap>Handle>postWorkflowJobTestsResultsHandler>LoadAndLockNodeRunByID: internal server error (caused by: Cannot load node job: Unable to load workflow_node_run node=2604599: pq: could not obtain lock on row in relation "workflow_node_run")
we should handle the pq error pq: could not obtain lock on row in relation "workflow_node_run"
to handle retry on all client function retries on this kind of error at client http level
func (c *client) QueueSendResult(ctx context.Context, id int64, res sdk.Result) error {
path := fmt.Sprintf("/queue/workflows/%d/result", id)
_, err := c.PostJSON(ctx, path, res, nil)
return err
}