-
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
[CI] RestoreTemplateWithMatchOnlyTextMapperIT test failing #107515
Comments
Pinging @elastic/es-search (Team:Search) |
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
Pinging @elastic/es-distributed (Team:Distributed) |
@gmarouli it seems that the test passes you passed wrap the mappings inside {
"_doc": {
"properties": {
"@timestamp": {
"format": "date_optional_time||epoch_millis",
"type": "date"
},
"flag": {
"type": "boolean"
},
"message": {
"type": "match_only_text"
}
}
}
} |
If you store the compressed mapping in |
#78746 seems to be related to this issue |
Looks like the core issue is |
Another way to fix the test is to use |
@arteam thanks for looking into this! I am still a bit baffled why this got triggered by using the type |
Hey, i was looking at this because it is tagged with storage engine but i don't think |
Test from #107514 fails for me even with
It passes ~10% of the time so there must be some randomness somewhere? |
I'll remove storage engine team from here since the issue seems to be in |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
This issue has been closed because it has been open for too long with no activity. Any muted tests that were associated with this issue have been unmuted. If the tests begin failing again, a new issue will be opened, and they may be muted again. |
This issue is getting re-opened because there are still AwaitsFix mutes for the given test. It will likely be closed again in the future. |
While working on #107281 we noticed that when we were running
testPartialRestoreSnapshotThatIncludesDataStream
and we would include the global state, we would get the assertion error that the cluster state size does not match.In this #107514 we introduce a test that demonstrates this issue without any other changes. Looking for other similar failures (#59140), we believe the reason is that there is something being mutated on the local node after the restoration. But this is just an assumption.
We are not sure if this is an issue in restore or in mapping, that's why we added both labels. Please feel free to change this accordingly.
Build scan:
https://gradle-enterprise.elastic.co/s/ceaa7hizih32e/tests/:modules:mapper-extras:internalClusterTest/org.elasticsearch.index.mapper.RestoreTemplateWithMatchOnlyTextMapperIT/test
Reproduction line:
Applicable branches:
main
Reproduces locally?:
Yes
Failure history:
Failure dashboard for
org.elasticsearch.index.mapper.RestoreTemplateWithMatchOnlyTextMapperIT#test
Failure excerpt:
The text was updated successfully, but these errors were encountered: