serhiy-bzhezytskyy opened a new pull request, #190: URL: https://github.com/apache/solr-orbit/pull/190
A converted workload stops at its first step on main: "No runner available for operation type [cluster-health]". geonames' and nyc_taxis' indexing-only procedures both stop there, because the converter writes upstream's cluster-health wait. The converter now writes what a Solr step needs. A collection creation has already returned when the cluster state is read, so the check is a read of `CLUSTERSTATUS` and does not wait for a status. `optimize` returns when the merge is done, so the force-merge is an optimize alone and the refresh and the wait for merges that followed it upstream are left out. This is done in the shared parts and in procedures that spell the steps out. `CONVERTED.md` lists each rewrite with the reason. | converted, on main | cluster-health steps | after-merge tasks | optimize with a request timeout | |---|---|---|---| | geonames, before | 1 | 2 | 1 | | geonames, after | 0 | 0 | 0 | | nyc_taxis, before | 4 | 6 | 2 | | nyc_taxis, after | 0 | 1 | 0 | The counts after are the ones in solr-orbit-workloads' `geonames` and `nyc_taxis`. Not covered: a shared part that is not the converted upstream one (a workload's own) is left as it is. The files stay where the converter writes them, inside each workload, not in a `common_operations/` at the top of the repository. Test with: ``` solr-orbit convert-workload --workload-path <opensearch-benchmark-workloads>/geonames --output-path /tmp/geonames-solr grep -c '"operation-type": "cluster-health"' /tmp/geonames-solr/common_operations/check_cluster_health.json solr-orbit run --pipeline=benchmark-only --target-hosts=localhost:8983 --workload-path=/tmp/geonames-solr --test-procedure=append-no-conflicts-index-only --test-mode pytest tests/unit/solr -k "WorkloadsParts or WorkloadsTasks" ``` `grep -c` prints 0 (it printed 1), and the run's summary has 6 `error rate` rows, all 0. On main before this change the run stops at check-cluster-health. pytest prints `6 passed`. -- 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]
