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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org