Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Feb 24, 2025

Backports the following commits to 9.0:

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.
@dnhatn dnhatn added :Analytics/ES|QL AKA ESQL >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Feb 24, 2025
@elasticsearchmachine elasticsearchmachine merged commit 9f75b30 into elastic:9.0 Feb 24, 2025
16 checks passed
@dnhatn dnhatn deleted the backport/9.0/pr-123197 branch February 24, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants