-
Bug
-
Resolution: Done
-
Major
-
2.8
-
None
-
Low
The streaming state transfer sender pool should name each of the thread differently! Otherwise, it becomes a nightmare to track individual threads as shown in ISPN-335:
private ThreadPoolExecutor setupThreadPool() {
ThreadPoolExecutor threadPool = new ThreadPoolExecutor(0, max_pool, pool_thread_keep_alive,
TimeUnit.MILLISECONDS, new SynchronousQueue<Runnable>());
ThreadFactory factory = new ThreadFactory() {
public Thread newThread(final Runnable command)
};
threadPool.setRejectedExecutionHandler(new ShutdownRejectedExecutionHandler(threadPool
.getRejectedExecutionHandler()));
threadPool.setThreadFactory(factory);
return threadPool;
}
A counter or similar needs to be added so that each sender thread is named differently.
- is related to
-
ISPN-335 EOFException when fetchPersistentState
- Closed