-
Notifications
You must be signed in to change notification settings - Fork 2k
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] BWC bug that cause query shard failure #17125
Comments
[Search Triage] As checked with team, this was broken very briefly. Can you please pull up the latest 2.x / 3.0 changes - it should work now. |
Hi @sandeshkr419 I can still reproduce the error with latest main and 2.x |
I believe the custom-codecs plugin hits the same BWC issue [1]:
[1] https://github.com/opensearch-project/custom-codecs/actions/runs/13167039041/job/36749522655?pr=217 |
@zhichao-aws @reta Maybe not related but JS is able to fix its own bwc issues: Thanks. |
Thanks @peterzhuamazon , but the issues seem not to be related |
The server-side stack trace is:
which points to this line: OpenSearch/server/src/main/java/org/opensearch/search/internal/ShardSearchRequest.java Line 255 in 09bacee
but there are no recent changes there so it's not immediately obvious what is causing this... |
There is a more recent change (#17098) in SearchSourceBuilder which is deserialized in the ShardSearchRequest constructor. @reta @zhichao-aws I think #17098 is the fix for this issue, but the problem is that the fix was committed after the change to publish the "3.0.0-alpha1" snapshot, so the "3.0.0" snapshot does not have this fix. FYI @peterzhuamazon |
Thanks @andrross , so moving to |
The bwc test passed after bump to 3.0.0-alpha1. Thanks @andrross ! |
Describe the bug
Queries fail to serialization/deserialization between 3.0 node and 2.19 node. It results in query shard failure.
Related component
Search
To Reproduce
opensearch-project/neural-search#1142 (comment)
here we can use any query(if leave it empty, it's match_all), and send request to any nodes. we get shard failure of serialization/deserialization error in response:
Expected behavior
should have no shard failure and return 5 hits
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: