serhiy-bzhezytskyy opened a new pull request, #187:
URL: https://github.com/apache/solr-orbit/pull/187

   Stacked on #186: its two commits come first in this branch and drop out of 
the diff when it merges. This change also needs #179, #181 and #182, which 
translate operations that it would otherwise leave out. Its "Test with" run 
needs #174 and #185 too.
   
   nyc_taxis' default and both longevity procedures stop at a task with no 
runner: "No runner available for operation type [autohisto_facet]". 
`auto_date_histogram` has no Solr counterpart, so the converter skipped its 
four operations, but the schedule tasks that ran them stayed. The tasks now go 
with the operations.
   
   The translation is strict now. A query type or an aggregation with no Solr 
form leaves the operation out, with its reason in `CONVERTED.md`. Before, it 
ran as `q=*:*` or without the aggregation, and the run reported SUCCESS. On 
geonames that is the four operations with Painless scripts and the two sampled 
`significant_text` operations, which ran as plain counts.
   
   The wrapper from #186 also converts the bounds a value source draws under 
`--randomization-enabled`. The source writes a date in the format it names, 
Solr reads only ISO 8601 in UTC, and nyc_taxis' `date_histogram_facet` failed 
on every request.
   
   The snapshot operations, `put-settings`, `auto_date_histogram` and geonames' 
`polling-ingest-index-only` are left out with the reason in `CONVERTED.md` and 
in `what-converts.md`: what a user can do in Solr instead. `delete-snapshot` 
was not left out before, so nyc_taxis kept an `operations/snapshot.json`, and 
geonames a `restore_snapshot.json` behind a `use_snapshot` branch that nothing 
can take. Both are gone, and so is an operations file that no operation was 
left in.
   
   | nyc_taxis, test-mode, randomized `append-no-conflicts` | result |
   |---|---|
   | before this change, all dependencies in | stops at `autohisto_facet` |
   | with the first commit only | `date_histogram_facet` 100 % errors |
   | with all three commits | 15 `error rate` rows, all 0 |
   
   Risk: an operation that ran as a stub is now absent, so a workload loses 
those rows. Each one is listed with its reason. The longevity loops of 
nyc_taxis still fail on their REST paths (`segment-stats-loop` and 
`refresh-loop`, 100 %); that is a separate change.
   
   Test with:
   ```
   solr-orbit convert-workload --workload-path 
<opensearch-benchmark-workloads>/nyc_taxis --output-path /tmp/nyc-solr
   ls /tmp/nyc-solr/operations
   solr-orbit run --pipeline=benchmark-only --target-hosts=localhost:8983 
--workload-path=/tmp/nyc-solr --test-procedure=append-no-conflicts --test-mode 
--randomization-enabled
   pytest tests/unit/solr
   ```
   `ls` prints `default.json` only; before, `snapshot.json` was there too. The 
run's summary has 15 `error rate` rows, all 0. The counts are from Solr 10.1.0 
on a tree with #174, #179, #181, #182, #185 and #186 merged.
   


-- 
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]

Reply via email to