epugh commented on code in PR #4064:
URL: https://github.com/apache/solr/pull/4064#discussion_r2734815456
##########
solr/benchmark/src/java/org/apache/solr/bench/MiniClusterState.java:
##########
@@ -501,7 +502,9 @@ public void forceMerge(String collection, int
maxMergeSegments) throws Exception
UpdateRequest optimizeRequest = new UpdateRequest();
final var url =
nodes.get(random.nextInt(cluster.getJettySolrRunners().size()));
- optimizeRequest.setAction(UpdateRequest.ACTION.OPTIMIZE, false, true,
maxMergeSegments);
+ optimizeRequest.setAction(
+ UpdateRequest.ACTION.OPTIMIZE,
+ CommitOptions.forOptimize(maxMergeSegments).waitSearcher(true));
Review Comment:
good eyes, yep, it is. REmoving the waitSearcher.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]