-
Notifications
You must be signed in to change notification settings - Fork 25k
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
TemplateUpgradeService get stuck in repeatedly upgrading templates after upgrade to 5.6.0 #26673
Comments
TemplateUpgradeService might get stuck in repeatedly upgrading templates after upgrade to 5.6.0. This is caused by shuffling mappings definition in the template during template serialization. This commit makes the template serialization consistent. Closes elastic#26673
I'm still getting this with 6.2.1:
|
I am encountering this issue when running the rest-api YAML tests with the Ruby client in Docker. The behavior observed: The rest api tests were passing when I ran elasticsearch and the tests outside docker. But when I ran both elasticsearch and the tests in docker, ES stopped responding halfway through the tests. I thought maybe Docker/ES were running out of memory. Here is an example of the error on Jenkins. I've put the error in this gist as well, in case the Jenkins job is no longer available when this issue is investigated. After inspecting the I’m guessing the cause of the issue is that the Please let me know if there's any other information you need to investigate or if I can help reproduce the issue. |
It manifests itself by the following messages that might linger in the log files for a while after upgrade if x-pack is installed.
The problem is occurring because during application of templates the order of elements in the template mapping can get shuffled causing the follow-up check if update is need to fail. I am working on the fix.
The text was updated successfully, but these errors were encountered: