You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/03/12 18:00:41 UTC

[GitHub] [lucene-solr] sigram commented on a change in pull request #1329: SOLR-14275: Policy calculations are very slow for large clusters and large operations

sigram commented on a change in pull request #1329: SOLR-14275: Policy calculations are very slow for large clusters and large operations
URL: https://github.com/apache/lucene-solr/pull/1329#discussion_r391797970
 
 

 ##########
 File path: solr/core/src/java/org/apache/solr/cloud/autoscaling/InactiveShardPlanAction.java
 ##########
 @@ -102,9 +104,14 @@ public void process(TriggerEvent event, ActionContext context) throws Exception
         String parentPath = ZkStateReader.COLLECTIONS_ZKNODE + "/" + coll.getName();
         List<String> locks;
         try {
-          locks = cloudManager.getDistribStateManager().listData(parentPath).stream()
-              .filter(name -> name.endsWith("-splitting"))
-              .collect(Collectors.toList());
+          DistribStateManager stateManager = cloudManager.getDistribStateManager();
 
 Review comment:
   this change is an unrelated fix, please ignore for now - this should go into a separate Jira.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org