The GitHub Actions job "Build" on jackrabbit-oak.git/OAK-12057-with-toggle has 
failed.
Run started by GitHub user bhabegger (triggered by thomasmueller).

Head commit for run:
2a715fff8374a36a565fe4e62cb5e4296b0d45ff / Benjamin Habegger 
<[email protected]>
OAK-12057: Add feature toggle for LIMIT-aware index selection

Add FT_IGNORE_LIMIT_IN_INDEX_SELECTION toggle to allow gradual rollout
of the fix for OAK-12057 (wrong index selection when using LIMIT).

When enabled (default), the query engine ignores LIMIT/OFFSET when
calculating entry counts for index cost comparison, selecting indexes
based on the best overall execution plan. When disabled, reverts to
the legacy behavior of capping entry counts by offset+limit.

- Define toggle constant in QueryEngineSettings
- Add feature field and getter/setter
- Register feature in Oak.java
- Wrap index entry count capping logic with toggle check in QueryImpl

Co-Authored-By: Claude Haiku 4.5 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to