-
Notifications
You must be signed in to change notification settings - Fork 1.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
[BUG]For ES version after 6.0.0 the index seems to be created with " index.mapper.dynamic " attribute which ideally it should not have #3879
Comments
Is this still the case in 2.x? Do you have repro steps, please? |
@dblock : this code path has not changed in OpenSearch 2.0, code reference It might still be there. I will take a look at this one. |
Hey folks, I am trying to connect Jaeger with Opensearch and getting this same error on startup of the Jaeger Collector. Could somebody take a look? Happy to hop on a call and try to reproduce this issue @dblock @shwetathareja |
@derek-ho : can you provide details on Jaeger Collector? which version are you using? How does it connect? Is the index created manually or using auto creation? is the error for existing index or during creation? |
I am using Jaeger version 1.38.1. I believe it is connecting with the ES go client: |
They do not have a dedicated Opensearch connection package yet - this is using the same one that is used to connect to Elasticsearch; that is one of the TODO's. However, I would like to investigate whether this problem might arise when a Opensearch connection package is written as well. |
Hi, we have same error with OpenSearch 2.2.0 and Jaeger 1.38.1 |
@shutlle can you run with --es.version=7? That fixed the issue for me. |
@derek-ho it's work |
Saw this issue today, I'll see about making this more addressable so that you can 'unset' the value rather than being stuck deleting the index. e.g the following would be allowed
|
See #11193 for the fix, I ended up expanding the fix to allow the setting value to be null or false - this should mitigate migration issues when no backwards capability issue would occur. This would also allow indices that were using this setting to be unset so they can be cleanly migrated. |
@peternied Do we know the root cause around how this setting was added to the index in OS 1.0 created index in the first place? I was trying to go through the issue but could not find the root cause through the trail. Is it just part of |
@mgodwan No, in the cases where I've encountered this issue the cluster operator did not remember the historical context and I didn't find any traces of how the index came to be. I'm going to close this specific issue as I've got a fix for this case, lets keep tracking the root cause investigation in [1]. |
Describe the bug
For ES version after 6.0.0 seen some specific case where the index seems to be created with " index.mapper.dynamic " attribute which should not happened as while I am trying the change this setting getting below error
But where as I can see that some index which are created in the 1.0.0 version are having this settings which we are not able to change or remove
Sample settings
Expected behavior
Newly created index on ES version above 6.0.0 should not have this settings
The text was updated successfully, but these errors were encountered: