Closed markddrake closed 10 months ago
The DBI doDestroy() function must wait for all activeWriter promises to settle before attempting to shut down the database connection and close the connection pool. The activeWriter promise must reject if the writer terminates as a result of an error.
If a DDL operation fails during an Import this can cause a series of unhandled errors resulting from the fact that the Writer DBI is destroyed before the writers have terminated and released their connections.