The GitHub Actions job "Commit Check" on jackrabbit-oak.git/OAK-12249 has 
succeeded.
Run started by GitHub user reschke (triggered by reschke).

Head commit for run:
60ed21fa7e5c8a2bcb902e5763bbd74166065676 / Benjamin Habegger 
<[email protected]>
OAK-12249: lazy ES index provisioning — skip creation for empty reindex (#3100)

When FT_OAK-12249 and FT_OAK-12248 are both enabled, ElasticIndexWriter
defers provisionIndex() from the constructor to the first updateDocument()
or deleteDocuments() call. A reindex that produces zero documents never
creates an Elasticsearch index or alias, eliminating the empty-index
problem described in OAK-12249.

Deployment order is enforced at runtime: isLazyProvisioningActive() returns
true only when both toggles are on. Enabling FT_OAK-12249 alone logs a WARN
and falls back to eager provisioning, preventing 404 errors on query paths
that lack graceful 404 handling.

ensureProvisioned() handles the incremental-write-after-empty-reindex case:
if an alias does not exist when the first document arrives, it creates a new
backing index with a fresh seed and points the alias at it.

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to