Skip to content

Docs: Release notes for filter by filter fix#75749

Merged
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:filter_by_filter_better_release_notes
Jul 29, 2021
Merged

Docs: Release notes for filter by filter fix#75749
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:filter_by_filter_better_release_notes

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Jul 27, 2021

In #74260 we disabled the "filter by filter" aggregations optimizations
when we couldn't be 100% sure that they were both faster and safe for
the cluster. Before that, mostly in the 7.13 line, we would aggressively
enable the optimization whenever we could and there were lots of cases
where the well meaning optimization was way way slower than the original
implementation. There were also cases where it'd fill up memory and
knock over the cluster! Disaster. With #74260 we're safe. The
optimization still kicks in when its faster - like when the top level
query is empty - but otherwise it get's out of the way and lets all the
normal aggs run.

@nik9000 nik9000 added >docs General docs changes v7.14.0 labels Jul 27, 2021
@elasticmachine elasticmachine added the Team:Docs Meta label for docs team label Jul 27, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-docs (Team:Docs)

nik9000 added 2 commits July 27, 2021 13:30
In elastic#74260 we disabled the "filter by filter" aggregations optimizations
when we couldn't be 100% sure that they were both faster and *safe* for
the cluster. Before that, mostly in the 7.13 line, we would aggressively
enable the optimization whenever we could and there were lots of cases
where the well meaning optimization was way way slower than the original
implementation. There were also cases where it'd fill up memory and
knock over the cluster! Disaster. With elastic#74260 we're safe. The
optimization still kicks in when its faster - like when the top level
query is empty - but otherwise it get's out of the way and lets all the
normal aggs run.
@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented Jul 27, 2021

@nik9000 nik9000 merged commit f427fcf into elastic:7.x Jul 29, 2021
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Jul 29, 2021
In elastic#74260 we disabled the "filter by filter" aggregations optimizations
when we couldn't be 100% sure that they were both faster and *safe* for
the cluster. Before that, mostly in the 7.13 line, we would aggressively
enable the optimization whenever we could and there were lots of cases
where the well meaning optimization was way way slower than the original
implementation. There were also cases where it'd fill up memory and
knock over the cluster! Disaster. With elastic#74260 we're safe. The
optimization still kicks in when its faster - like when the top level
query is empty - but otherwise it get's out of the way and lets all the
normal aggs run.
nik9000 added a commit that referenced this pull request Jul 30, 2021
…5859)

In #74260 we disabled the "filter by filter" aggregations optimizations
when we couldn't be 100% sure that they were both faster and *safe* for
the cluster. Before that, mostly in the 7.13 line, we would aggressively
enable the optimization whenever we could and there were lots of cases
where the well meaning optimization was way way slower than the original
implementation. There were also cases where it'd fill up memory and
knock over the cluster! Disaster. With #74260 we're safe. The
optimization still kicks in when its faster - like when the top level
query is empty - but otherwise it get's out of the way and lets all the
normal aggs run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes Team:Docs Meta label for docs team v7.14.0 v7.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants