serhiy-bzhezytskyy opened a new pull request, #175: URL: https://github.com/apache/solr-orbit/pull/175
`wait-for-merges` summed merge "running" metrics. Solr 10 exports only merge totals and timers, so the runner saw zero and returned at once while a merge was still running. It now polls `COLSTATUS` with `segments=true`, which asks each shard leader for its running merges from whichever node receives the request. A core's own segments API answers only on the node that holds the core. Only the leaders are asked: waiting for the merges on a shard's other NRT replicas is out of scope here. On a two-node Solr 10.1.0 cluster, during an optimize of a two-shard collection (13 segments per shard, one shard per node), the previous runner returned after 0.06 s with 13 segments left on each shard; this one returned after the optimize, with one segment on each. The new tests fail without the change. -- 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]
