Skip to content

Docs: Release notes for filter by filter fix (backport of #75749)#75859

Merged
nik9000 merged 1 commit intoelastic:7.14from
nik9000:filter_by_filter_better_release_notes_7_14
Jul 30, 2021
Merged

Docs: Release notes for filter by filter fix (backport of #75749)#75859
nik9000 merged 1 commit intoelastic:7.14from
nik9000:filter_by_filter_better_release_notes_7_14

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Jul 29, 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 changed the title Docs: Release notes for filter by filter fix (#75749) Docs: Release notes for filter by filter fix (backport of #75749) 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 nik9000 merged commit 2c92e5a into elastic:7.14 Jul 30, 2021
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