-
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
dfs_query_then_fetch can cause serialization errors with 6.x nodes #75349
Comments
Pinging @elastic/es-search (Team:Search) |
Oh good catch and sorry for not thinking about this when merging this Lucene change! |
Waiting for this fix |
In a mixed 6.x and 7.x cluster, a search that uses dfs_query_then_fetch can cause a transport serialization errors. This is related to https://issues.apache.org/jira/browse/LUCENE-8007, which was introduced in Lucene 8 and adds stricter checks to TermStatistics and CollectionStatistics, and https://issues.apache.org/jira/browse/LUCENE-8020, which was introduced in Lucene 8 and avoids bogus term stats (e.g. docfreq=0). Co-authored-by: Julie Tibshirani [email protected] Closes #75349
In a mixed 6.x and 7.x cluster, a search that uses dfs_query_then_fetch can cause a transport serialization errors. This is related to https://issues.apache.org/jira/browse/LUCENE-8007, which was introduced in Lucene 8 and adds stricter checks to TermStatistics and CollectionStatistics, and https://issues.apache.org/jira/browse/LUCENE-8020, which was introduced in Lucene 8 and avoids bogus term stats (e.g. docfreq=0). Co-authored-by: Julie Tibshirani [email protected] Closes #75349
Fixed by #75735 |
FYI, @ywelsch. *** raised some concerns that the Bug and PR tickets were not mentioned in our Elasticsearch version 7.14.0 release notes, but I have pointed out that while this seems to be true, the code changes do appear in the 7.14.0 codebase. |
@nathandh22 I've redacted your post, as you shouldn't call out specific customers in public issues. As the fix (#75735) got merged very late in the 7.14.0 release cycle, I suspect that it wasn't properly picked up by the doc release for 7.14.0 in #75873. @probakowski can you check what went wrong there? |
In a mixed 6.x and 7.x cluster, a search that uses
dfs_query_then_fetch
can cause a transport serialization error:This seems related to https://issues.apache.org/jira/browse/LUCENE-8007, which was introduced in Lucene 8 and adds stricter checks to
TermStatistics
.I was able to reproduce this with our rolling upgrade tests. A rough example:
keyword
value like"field": "some_value"
.This search can then fail with the same serialization error.
The text was updated successfully, but these errors were encountered: