-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
StackOverflowError somewhere in the cluster applier thread #36360
Labels
>bug
:Core/Infra/Resiliency
Keep running when everything is ok. Die quickly if things go horribly wrong.
:ml
Machine learning
v6.4.2
Comments
DaveCTurner
added
>bug
:Core/Infra/Resiliency
Keep running when everything is ok. Die quickly if things go horribly wrong.
:ml
Machine learning
v6.4.2
labels
Dec 7, 2018
Pinging @elastic/es-core-infra |
Pinging @elastic/ml-core |
Ouch. That is horrible. I'll work on a fix for this asap. |
dimitris-athanasiou
added a commit
to dimitris-athanasiou/elasticsearch
that referenced
this issue
Dec 7, 2018
ML jobs and datafeeds wrap collections into their unmodifiable equivalents in their constructor. However, the copying builder does not make a copy of some of those collections resulting in wrapping those again and again. This can eventually result to stack overflow. This commit addressed this issue by copying the collections in question in the copying builder constructor. Closes elastic#36360
dimitris-athanasiou
added a commit
that referenced
this issue
Dec 7, 2018
ML jobs and datafeeds wrap collections into their unmodifiable equivalents in their constructor. However, the copying builder does not make a copy of some of those collections resulting in wrapping those again and again. This can eventually result to stack overflow. This commit addressed this issue by copying the collections in question in the copying builder constructor. Closes #36360
dimitris-athanasiou
added a commit
that referenced
this issue
Dec 7, 2018
ML jobs and datafeeds wrap collections into their unmodifiable equivalents in their constructor. However, the copying builder does not make a copy of some of those collections resulting in wrapping those again and again. This can eventually result to stack overflow. This commit addressed this issue by copying the collections in question in the copying builder constructor. Closes #36360
dimitris-athanasiou
added a commit
that referenced
this issue
Dec 7, 2018
ML jobs and datafeeds wrap collections into their unmodifiable equivalents in their constructor. However, the copying builder does not make a copy of some of those collections resulting in wrapping those again and again. This can eventually result to stack overflow. This commit addressed this issue by copying the collections in question in the copying builder constructor. Closes #36360
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
:Core/Infra/Resiliency
Keep running when everything is ok. Die quickly if things go horribly wrong.
:ml
Machine learning
v6.4.2
A user reported that their master node died with the following exception
This repeats until the end of the file. As far as I can tell, this can't be an infinite recursion, but it could be very deeply nested if an unmodifiable list is repeatedly rewrapped.
It is possible this was introduced by #31957 which looks like it might re-wraps some lists in
unmodifiableList
each time a newDatafeedConfig
is constructed.The text was updated successfully, but these errors were encountered: