forked from slackhq/astra
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When you make a query that has no agg component and requests size 0, the query api 500s. It should either return a 4xx or short circuit to returning an empty result.
500 is caused by an illegal arg exception from the chunk manager where it’s complaining that Hits or aggregation should be requested
at com.slack.astra.chunkManager.ChunkManagerBase.lambda$query$4(ChunkManagerBase.java:134)
at com.slack.astra.logstore.search.LogIndexSearcherImpl.search(LogIndexSearcherImpl.java:106)
Requirements (place an x
in each of the [ ]
)**
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Reproducible in:
Astra version:
JVM version:
OS version(s):
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working