You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For InternalConnectorRegistry, it uses non-daemon threads which prevents normal shutdown of our application.
It seems like even error on the main thread does not terminate the process now with the connector, so we have batch jobs that fail and linger in this zombie state.
In order to create daemon threads, creation of executors should be changed to something like
this.executor = MoreExecutors.listeningDecorator(
Executors.newScheduledThreadPool(8, r -> {
Thread t = new Thread(r);
t.setDaemon(true);
return t;
})
);
For InternalConnectorRegistry, it uses non-daemon threads which prevents normal shutdown of our application.
It seems like even error on the main thread does not terminate the process now with the connector, so we have batch jobs that fail and linger in this zombie state.
In order to create daemon threads, creation of executors should be changed to something like
#2118
similar issue: GoogleCloudPlatform/alloydb-java-connector/issues/617
The text was updated successfully, but these errors were encountered: