mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 19:15:06 +00:00
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…
x
Reference in New Issue
Block a user