lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [1/2] lucene-solr:branch_7x: SOLR-11771: Overseer can never process some last messages
Date Sat, 06 Jan 2018 02:13:19 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x c59db0c33 -> 169850f90


SOLR-11771: Overseer can never process some last messages


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/8eed452c
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/8eed452c
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/8eed452c

Branch: refs/heads/branch_7x
Commit: 8eed452ce7a5030bdcde5d283ca2f35e4546d478
Parents: c59db0c
Author: Cao Manh Dat <datcm@apache.org>
Authored: Sat Jan 6 09:05:14 2018 +0700
Committer: Cao Manh Dat <datcm@apache.org>
Committed: Sat Jan 6 09:13:01 2018 +0700

----------------------------------------------------------------------
 solr/CHANGES.txt                                       | 2 ++
 solr/core/src/java/org/apache/solr/cloud/Overseer.java | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8eed452c/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 7c953ce..1e8594c 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -66,6 +66,8 @@ Bug Fixes
 * SOLR-11555: If the query terms reduce to nothing, filter(clause) produces an NPE whereas
   fq=clause does not (Erick Erickson)
 
+* SOLR-11771: Overseer can never process some last messages (Cao Manh Dat)
+
 Optimizations
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8eed452c/solr/core/src/java/org/apache/solr/cloud/Overseer.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/cloud/Overseer.java b/solr/core/src/java/org/apache/solr/cloud/Overseer.java
index 3b9dd28..ee5fb18 100644
--- a/solr/core/src/java/org/apache/solr/cloud/Overseer.java
+++ b/solr/core/src/java/org/apache/solr/cloud/Overseer.java
@@ -201,7 +201,7 @@ public class Overseer implements SolrCloseable {
           LinkedList<Pair<String, byte[]>> queue = null;
           try {
             // We do not need to filter any nodes here cause all processed nodes are removed
once we flush clusterstate
-            queue = new LinkedList<>(stateUpdateQueue.peekElements(1000, Long.MAX_VALUE,
(x) -> true));
+            queue = new LinkedList<>(stateUpdateQueue.peekElements(1000, 3000L, (x)
-> true));
           } catch (KeeperException.SessionExpiredException e) {
             log.warn("Solr cannot talk to ZK, exiting Overseer main queue loop", e);
             return;


Mime
View raw message