Skip to content

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

Merged
jakelandis merged 1 commit intoelastic:7.xfrom
jakelandis:backport/7.x/pr-50514
Jan 9, 2020
Merged

[7.x] Foreach processor - fork recursive call (#50514)#50773
jakelandis merged 1 commit intoelastic:7.xfrom
jakelandis:backport/7.x/pr-50514

Conversation

@jakelandis
Copy link
Copy Markdown
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