StackOverflowError when calling BulkRequest#add#41672
StackOverflowError when calling BulkRequest#add#41672hub-cap merged 3 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/es-core-features |
|
@elasticmachine add to whitelist |
|
Thank you for finding this!! |
|
looks like the tests arent compiling. You can run the tests with |
|
I forgot to run that command after checking the tests in IntelliJ. IntelliJ was configured with Eclipse Compiler, not javac, probably the reason the test was compiling locally but not in Gradle. I'll keep an eye on CI results, and make updates if needed. |
…(DocWriteRequest<?>...) (varargs version) Removing of payload in BulkRequest (commit 6f3578a) had a side effect of making `BulkRequest.add(DocWriteRequest<?>...)` (with varargs) recursive, thus leading to StackOverflowError. This PR adds a small change in RequestConvertersTests to show the error and the corresponding fix in `BulkRequest`.
|
@elasticmachine run elasticsearch-ci/1 |
|
If these fail again, can you merge the upstream's master onto your branch? We could have muted some flaky tests since you grabbed the source. Your branch is not old, but its always possible that there is a new flaky test! |
|
I've just merged upstream master and ran After searching on Jenkins, I found that the failing test Again, I'll check CI results when available. |
|
CI is a bit unstable today do to a version bump. It might be best to just have me rerun these tomorrow after I become unblocked on some of my PRs as well (ie, ill be watching it all day heh). |
|
ok CI is back to normal, can you merge in the newest from |
|
Merge with upstream master (46d25e6) done. Fingers crossed ;) |
|
Well, new build, another failing test :( But the test is OK on my side, so I don't know what to do next. (except maybe going towards the famous definition "Insanity is doing the same thing over and over and expecting different results" ;) ). |
|
oh, yea your stuff is certainly not causing ML to fail, thats likely a flaky test. We try to squash them as soon as possible to limit the insanity feeling :) @elasticmachine run elasticsearch-ci/2 |
|
victory, Ill be merging this and backporting it early next week. Great work and thank you for the catch and contribution! edit: and by merging and backporting i mean backporting as ive just merged it :P |
|
Great :) Glad being helpfull. |
Removing of payload in BulkRequest (elastic#39843) had a side effect of making `BulkRequest.add(DocWriteRequest<?>...)` (with varargs) recursive, thus leading to StackOverflowError. This PR adds a small change in RequestConvertersTests to show the error and the corresponding fix in `BulkRequest`. Fixes elastic#41668
Removing of payload in BulkRequest (elastic#39843) had a side effect of making `BulkRequest.add(DocWriteRequest<?>...)` (with varargs) recursive, thus leading to StackOverflowError. This PR adds a small change in RequestConvertersTests to show the error and the corresponding fix in `BulkRequest`. Fixes elastic#41668
Removing of payload in BulkRequest (commit 6f3578a) had a side effect of making
BulkRequest.add(DocWriteRequest<?>...)(with varargs) recursive, thus leading to StackOverflowError.This PR adds a small change in RequestConvertersTests to show the error and the corresponding fix in
BulkRequest.Hope this helps,
Guillaume.