Hello everyone.
I'm a little confused: replayUpdatesExecutor, only one thread is always running? OrderedExecutor limits the cfg.getReplayUpdatesThreads() number of tasks to be submitted, and the newMDCAwareCachedThreadPool thread queue are up to cfg.getReplayUpdatesThreads() queues, the thread poll corePoolSize is 0. CoreContainer.java | this.replayUpdatesExecutor =newOrderedExecutor( | | | cfg.getReplayUpdatesThreads(), | | | ExecutorUtil.newMDCAwareCachedThreadPool( | | | cfg.getReplayUpdatesThreads(), | | | newSolrNamedThreadFactory("replayUpdatesExecutor"))); | Thanks.