-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Sporadic test failure on PDO_OCI #4225
Comments
That functionality was introduced in #849 See also #2636 , in which it was fixed for Oracle I read this doc and think I found a reason why this doesn't work:
|
IMO this is a fundamentally wrong approach, even from the DBAL's own perspective. If DBAL loses its connection, it will attempt to recreate it again before the next query. If a service that uses the database being dropped gets its connection closed, it will attempt to restore it and proceed thereby interfering with the process of dropping the database. A proper approach is to either have a maintenance window during the database is inaccessible to its clients or perform a rolling migration. |
Should we drop the flaky test? It's annoying to have to restart the builds every time. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
According to the test name, it is meant to drop a database with active connections but under certain circumstances, it fails to do so.
At the same time, it's not clear why this functionality is needed in the first place.
The text was updated successfully, but these errors were encountered: