-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[BUG] FastAPI + Great Expectations + MSSQL (requests accumulate in sleeping status) #9648
Labels
Comments
IgorShcherbakov
changed the title
Suspended requests
[BUG] FastAPI + Great Expectations (requests accumulate in sleeping status)
Mar 26, 2024
IgorShcherbakov
changed the title
[BUG] FastAPI + Great Expectations (requests accumulate in sleeping status)
[BUG] FastAPI + Great Expectations + MSSQL (requests accumulate in sleeping status)
Mar 26, 2024
The problem is in the "run" method of the "Checkpoint" class. Resources are not released. |
There is no way to terminate the GE without ending the program completely. For example, context.engine.dispose() and context.connection.close(). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you run GE in a container (Kubernetes), then after performing checks in the database you can see requests in the “suspended” status. Is it possible to forcefully close all connections to the database after performing the checks?
Example query:
SELECT sum(CASE WHEN ([PK_ID] IS NOT NULL) THEN 1 ELSE 0 END) AS [column_values.null.unexpected_count]
FROM [#gx_temp_d56615b6]
Great Expectations Version: 0.18.8
The text was updated successfully, but these errors were encountered: