SOLR-13349:High CPU usage in Solr due to Java 8 bug

This commit is contained in:
erick 2019-03-28 15:49:54 -07:00
parent 8d658a8cfb
commit b2941ff0da
2 changed files with 4 additions and 1 deletions

View File

@ -146,6 +146,9 @@ Bug Fixes
* SOLR-13351: Workaround for VELOCITY-908 (Kevin Risden)
* SOLR-13349: High CPU usage in Solr due to Java 8 bug (Erick Erickson)
Improvements
----------------------

View File

@ -59,7 +59,7 @@ public final class CommitTracker implements Runnable {
private long tLogFileSizeUpperBound;
private final ScheduledExecutorService scheduler =
Executors.newScheduledThreadPool(0, new DefaultSolrThreadFactory("commitScheduler"));
Executors.newScheduledThreadPool(1, new DefaultSolrThreadFactory("commitScheduler"));
private ScheduledFuture pending;
// state