Yifan Cai created CASSSIDECAR-491:
-------------------------------------

             Summary: 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


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]

Reply via email to