Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve efficiency of Grok circular reference check #74814

Conversation

droberts195
Copy link
Contributor

This change is a tweak to #74581 which removes the N^2
loop that was added in that PR.

Fixes #74810

This change is a tweak to elastic#74581 which removes the N^2
loop that was added in that PR.
@droberts195 droberts195 added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP and removed v8.0.0 labels Jul 1, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jul 1, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@droberts195
Copy link
Contributor Author

We need to decide if the problem being fixed here will cause enough problems that it warrants being a blocker for 7.13.3 and 6.8.17. If so then it can be backported further and relabelled >non-issue, as it will then be fixing an unreleased bug.

@droberts195
Copy link
Contributor Author

See #74810 (comment) for timings that show the effect of this.

Copy link
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can't be backported to 7.14 until #74829 completes which has been delayed by a number of Jenkins issues.

@droberts195 droberts195 merged commit a0d2695 into elastic:master Jul 1, 2021
@droberts195 droberts195 deleted the improve_grok_circular_reference_check branch July 1, 2021 13:30
@martijnvg
Copy link
Member

👍 Thanks for tracking this down, Robert.

droberts195 added a commit that referenced this pull request Jul 1, 2021
This change is a tweak to #74581 which removes the N^2
loop that was added in that PR.
droberts195 added a commit that referenced this pull request Jul 1, 2021
This change is a tweak to #74581 which removes the N^2
loop that was added in that PR.
danhermann pushed a commit to danhermann/elasticsearch that referenced this pull request Jul 1, 2021
This change is a tweak to elastic#74581 which removes the N^2
loop that was added in that PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v6.8.17 v7.13.3 v7.14.0 v7.15.0 v8.0.0-alpha1
Projects
None yet
6 participants