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
numerous unit test failures after elasticsearch upgrade to 0.90.6 #704
Conversation
Assigning to @simong for investigation |
This might just be an issue with elasticsearch 0.90.6 my logs show running out of java heap space which could be elastic/elasticsearch#4093 |
After upgrading to elasticsearch 0.90.7 I'm still seeing ~22 failures but they're looking more consistent and no memory errors in the logs. So now I think we might be hitting this one: elastic/elasticsearch#3849 |
I just ran a
|
It appears we apply a |
Leaving assigned to @stuartf for review. |
This also improves the search logging so that an error will be logged if ES returns such an error. |
numerous unit test failures after elasticsearch upgrade to 0.90.6
reviewed, verified, merged |
Note that ElasticSearch 0.20.6 (and potentially all 0.20.x) has an issue where it will throw an error if you add an "ids" filter that has 0 items. This causes a failure in the unit tests, and in production you can see the effect by:
You would expect simply 0 items, however there is a 500 error behind the scenes. This only impacts libraries w/ 0 items. This exists before and after this PR, but upgrading ES will resolve the issue. |
After upgrading elasticsearch to 0.90.6 the tests take ~23 minutes to complete and I've seen anywhere between 4 to 30 test failures, usually starting with search failures followed by timeout failures. Elasticsearch 0.90.1 and 0.90.5 both work fine.