-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs #102
Comments
I think you might want to dig into this, I'm assuming this is redshift's ip? |
@BenFradet it looks like redshift does reset the connection, however it's because the script doesn't execute the second step and waits for lost response for the DB of the unload step that has finished as indicated on redshift's dashboard. |
@BenFradet Digging further, Here's the updated playbook.
|
Hey @dcrasto - I'm struggling to see how this could be a bug in SQL Runner... It's much more likely to be an issue either in Redshift, or in the Golang Postgres driver no? |
seems to be the case @alexanderdean. |
@dcrasto Any update on that ? I'm running into the same issue where a SQL query finishes correctly but then sql-runner hangs till the timeout occurs and the job fails. |
@abrenaut have to update the network settings on the machine running the job:
Also make sure there is no timeout for the user connecting to the DB. Works like a charm now. p.s @alexanderdean you might want to update the docs |
@mhadam do you mind taking care of updating the docs |
Currently using v0.5.2
I have a playbook with 2 steps.
I can see the unloads finish on redshift, however the last step never executes and I get a timeout error on the first step. This just recently started happening and there is nothing running on the cluster that would cause it to block. If I run a 2nd or 3rd time it works just fine.
I've even split up the queries into multiple steps and still no go.
Thanks
danny
error
playbook
first step
Second step
The text was updated successfully, but these errors were encountered: