[
https://issues.apache.org/jira/browse/CASSSIDECAR-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSSIDECAR-491:
----------------------------------
Labels: lhf (was: )
> singleThreadExecutorService is never shut down in RequestExecutor#close()
> -------------------------------------------------------------------------
>
> Key: CASSSIDECAR-491
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-491
> Project: Sidecar for Apache Cassandra
> Issue Type: Bug
> Reporter: Yifan Cai
> Assignee: Mansi Khara
> Priority: Major
> Labels: lhf
>
> RequestExecutor#close() only closes the underlying httpClient and never shuts
> down its internal singleThreadExecutorService (a ScheduledExecutorService
> used to schedule retry attempts). Since that executor's thread is non-daemon,
> every closed RequestExecutor leaks one thread, which prevents clean JVM
> shutdown and accumulates in long-running processes or test suites that create
> multiple RequestExecutor instances.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]