-
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
illegal_argument_exception - unexpected metadata [op:[TEST]] in source #107209
Comments
Pinging @elastic/es-core-infra (Team:Core/Infra) |
I wasn't able to reproduce this issue. Is there a stack trace in the Elasticsearch application logs that you could share? |
@williamrandolph I am not seeing any logs while hitting this request. |
@williamrandolph can you share configuration you used while trying to reproduce this? also, I have disabled tls using rejectUnauthorized: false in configuration. |
I used the .zip archive on MacOS. I'll try the docker image. |
@williamrandolph any update here? |
I have faced similar error message with Elasticsearch 8.11.3. I'm able to reproduce the exact same error as @rishabh-mmc. Please find attached the 3 commands to execute in Dev Tools : dev_tools.txt |
@williamrandolph @jpmat296 what are next steps here as this is reproduced. we are using op key in our project and this is impacting out functionality thus not able to upgrade to ES 8. |
I have the same issue with Elasticsearch 8.13. But the field is called I did a little research. I added a parameter
Into the
The issue root cause is that the field has two types at the same time: a
The Metadata fileds causes the issue. Elasticsearch must to not allow mappings against Metadata names in fields or must handle this fields in a proper way in case names duplicates are used. |
@williamrandolph @gwbrown @elastic/es-core-infra |
Elasticsearch Version
8.12.2
Installed Plugins
No response
Java Version
bundled
OS Version
Mac OS Sonomo (14.4.1)
Problem Description
Unable to update any document when there is field named op in mapping.
Steps to Reproduce
// Create Mapping
PUT op_index_test
// insert data
POST op_index_test/_doc/1
// update by query
POST op_index_test/_update_by_query
Error:
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: