Skip to content
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

Recover from Athena SlowDown error #1955

Merged
merged 1 commit into from Dec 15, 2023
Merged

Recover from Athena SlowDown error #1955

merged 1 commit into from Dec 15, 2023

Conversation

jdorn
Copy link
Member

@jdorn jdorn commented Dec 14, 2023

Summary

Fixes #1866

Occasionally an Athena query will fail with a "SlowDown" error. After some time, the query may transition back to a "running" state.

This PR waits for up to 60s by default for this transition to occur. The wait time is configurable via an environment variable (e.g ATHENA_RETRY_WAIT_TIME=120).

To help fine tune this wait time, we are also now outputting debug logs (enable with LOG_LEVEL=debug environment variable).

Occasionally an Athena query will fail with a "SlowDown" error. After some time, the query may transition back to a "running" state.

This PR waits for up to 60s by default for this transition to occur. The wait time is configurable via an environment variable (e.g `ATHENA_RETRY_WAIT_TIME=120`).

To help fine tune this wait time, we are also now outputting debug logs (enable with `LOG_LEVEL=debug` environment variable).
Copy link

Your preview environment pr-1955-bttf has been deployed.

Preview environment endpoints are available at:

@jdorn jdorn merged commit 29a9d04 into main Dec 15, 2023
3 checks passed
@jdorn jdorn deleted the athena-slowdown-retry branch December 15, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Query fails in GrowthBook but not Athena
1 participant