Skip to content
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] Partial result returned when shard search task cancelled #2028

Open
dai-chen opened this issue Aug 23, 2023 · 0 comments
Open

[BUG] Partial result returned when shard search task cancelled #2028

dai-chen opened this issue Aug 23, 2023 · 0 comments
Labels
bug Something isn't working Priority-High

Comments

@dai-chen
Copy link
Collaborator

What is the bug?

DSL response returns how many shard search task cancelled/failed. However, SQL plugin seems not check this and just return the partial result to user.

How can one reproduce the bug?

Need shard search failed to reproduce this issue.

What is the expected behavior?

1.If this is expected for most cases
2.If not
a. Throw exception if any failed shard if this is expected behavior in any case
b. Or provide a query parameter for query that require full result

What is your host/environment?

  • Version: OpenSearch 2.7
  • Plugins
@dai-chen dai-chen added bug Something isn't working untriaged and removed untriaged labels Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority-High
Projects
None yet
Development

No branches or pull requests

1 participant