mirror of https://github.com/apache/lucene.git
SOLR-8566: SyncStrategy.syncWithReplicas initialCapacity tweak
This commit is contained in:
parent
f31560bd8e
commit
2782f60744
|
@ -166,7 +166,7 @@ public class SyncStrategy {
|
|||
return true;
|
||||
}
|
||||
|
||||
List<String> syncWith = new ArrayList<>();
|
||||
List<String> syncWith = new ArrayList<>(nodes.size());
|
||||
for (ZkCoreNodeProps node : nodes) {
|
||||
syncWith.add(node.getCoreUrl());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue