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

[7.x] Foreach processor - fork recursive call (#50514) #50773

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

jakelandis
Copy link
Contributor

Backports the following commits to 7.x:

A very large number of recursive calls can cause a stack overflow
exception. This commit forks the recursive calls for non-async
processors. Once forked, each thread will handle at most 10
recursive calls to help keep the stack size and thread count
down to a reasonable size.
@jakelandis jakelandis merged commit de6f132 into elastic:7.x Jan 9, 2020
@jakelandis jakelandis deleted the backport/7.x/pr-50514 branch January 9, 2020 19:21
jakelandis added a commit to jakelandis/elasticsearch that referenced this pull request Jan 9, 2020
A very large number of recursive calls can cause a stack overflow
exception. This commit forks the recursive calls for non-async
processors. Once forked, each thread will handle at most 10
recursive calls to help keep the stack size and thread count
down to a reasonable size.
jakelandis added a commit that referenced this pull request Jan 9, 2020
A very large number of recursive calls can cause a stack overflow
exception. This commit forks the recursive calls for non-async
processors. Once forked, each thread will handle at most 10
recursive calls to help keep the stack size and thread count
down to a reasonable size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant