You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by er...@apache.org on 2019/03/28 23:08:29 UTC

[lucene-solr] 01/02: SOLR-13349:High CPU usage in Solr due to Java 8 bug

This is an automated email from the ASF dual-hosted git repository.

erick pushed a commit to branch branch_7x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 8773e6b160029b43764c4b9459efe9624c52cb31
Author: erick <er...@gmail.com>
AuthorDate: Thu Mar 28 15:49:54 2019 -0700

    SOLR-13349:High CPU usage in Solr due to Java 8 bug
    
    (cherry picked from commit b2941ff)
---
 solr/core/src/java/org/apache/solr/update/CommitTracker.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/update/CommitTracker.java b/solr/core/src/java/org/apache/solr/update/CommitTracker.java
index 55b2287..975f166 100644
--- a/solr/core/src/java/org/apache/solr/update/CommitTracker.java
+++ b/solr/core/src/java/org/apache/solr/update/CommitTracker.java
@@ -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