The GitHub Actions job "Build" on jackrabbit-oak.git/OAK-12248-graceful-404 has 
failed.
Run started by GitHub user bhabegger (triggered by reschke).

Head commit for run:
ccf0da333d667699bc2accb19e68c91d4130220c / Benjamin Habegger 
<[email protected]>
OAK-12248: graceful 404 when ES alias is not yet provisioned

When an Elasticsearch alias does not exist (index_not_found_exception / 404),
the query now returns an empty cursor and logs INFO instead of propagating
an ERROR via FulltextIndex.getPlans(). The fix is behind feature toggle
FT_OAK-12248 (disabled by default) registered in ElasticIndexProviderService.

The 404 is caught in ElasticIndexStatistics.getCountOrZeroOn404() so the
planner receives 0 estimated documents and proceeds normally; ElasticResultRow-
AsyncIterator.onFailure() / hasNext() also suppress the ERROR when the toggle
is on. ElasticGraceful404QueryTest verifies both toggle-off (ERROR expected)
and toggle-on (empty result, no ERROR, INFO logged) behaviours.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/28037289121

With regards,
GitHub Actions via GitBox

Reply via email to