The GitHub Actions job "Build" on jackrabbit-oak.git/trunk has failed.
Run started by GitHub user nit0906 (triggered by nit0906).

Head commit for run:
72a21df1493666a8a03c744e5d61cbbef4ff9de4 / Benjamin Habegger 
<[email protected]>
OAK-12248: graceful 404 when ES alias is not yet provisioned (#2950)

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/28075187323

With regards,
GitHub Actions via GitBox

Reply via email to