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

Head commit for run:
12ea30fef8a8a180bc8eb2e6988ef5dd724a1219 / 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/27527619380

With regards,
GitHub Actions via GitBox

Reply via email to