You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2022/11/03 04:06:29 UTC

[solr] branch jira/solr-16414-investigate-slowdown updated: remove parallelstream

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

noble pushed a commit to branch jira/solr-16414-investigate-slowdown
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/jira/solr-16414-investigate-slowdown by this push:
     new a93f77d6612 remove parallelstream
a93f77d6612 is described below

commit a93f77d6612ef270f8ebb135171bd04de409520c
Author: Noble Paul <no...@gmail.com>
AuthorDate: Thu Nov 3 15:06:19 2022 +1100

    remove parallelstream
---
 solr/core/src/java/org/apache/solr/cloud/ZkController.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/cloud/ZkController.java b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
index 3ca06a17e4e..1dccb4096e5 100644
--- a/solr/core/src/java/org/apache/solr/cloud/ZkController.java
+++ b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
@@ -2929,7 +2929,7 @@ public class ZkController implements Closeable {
             collectionsInThisNode.add(cd.getCloudDescriptor().getCollectionName());
           }
         }
-        collectionsInThisNode.parallelStream()
+        collectionsInThisNode
             .forEach(
                 c -> {
                   final List<String> replicasToDown = new ArrayList<>();