Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Mar 3, 2025

Backport

This will backport the following commits from main to 8.17:

Questions ?

Please refer to the Backport tool documentation

The LuceneSourceOperator is supposed to terminate when it reaches the
limit; unfortunately, we don't have a test to cover this. Due to this
bug, we continue scanning all segments, even though we discard the
results as the limit was reached. This can cause performance issues for
simple queries like FROM .. | LIMIT 10, when Lucene indices are on the
warm or cold tier. I will submit a follow-up PR to ensure we only
collect up to the limit across multiple drivers.

(cherry picked from commit 4d2b8dc)
@dnhatn dnhatn added the :Analytics/ES|QL AKA ESQL label Mar 3, 2025
@dnhatn dnhatn merged commit 6d92767 into elastic:8.17 Mar 3, 2025
15 checks passed
@dnhatn dnhatn deleted the backport/8.17/pr-123197 branch March 3, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants