Hi team,
Getting “class”:“o.o.w.QueryGroupTask” “QueryGroup _id can’t be null, It should be set before accessing it. This is abnormal behaviour” warning log while query data using scroll API in OS2.18.0. But what is the fix for this log, or we can simply ignore this log.
TIA,
Ashok
1 Like
Mantas
January 21, 2025, 1:01pm
2
Hi @AshokPonna ,
It looks like its being addressed here:
opened 05:03PM - 17 Dec 24 UTC
bug
Search
### Describe the bug
The warning:
https://github.com/opensearch-project/OpenSe… arch/pull/14708/files#diff-4e901163f39dfc072ae4d7f93a43f0958bdfdf2bb82f044b2ec9f3ae13fa66dfR56
Ideally should never happen, but it's spamming our logs for our use cases.
### Related component
Search
### To Reproduce
```sh
curl -s -X POST "localhost:9200/some_index_name/_search?size=2&scroll=30s" -H "content-type: application/json" -d '{"query":{"match_all":{}}}'
```
with the _scroll_id from the response:
```sh
curl -s "localhost:9200/_search/scroll/${_scroll_id}?scroll=30s
```
The opensearch logs show:
```
2024-12-17T17:00:36.571341698Z [2024-12-17T17:00:36,570][WARN ][o.o.w.QueryGroupTask ] [b6feeca76aab] QueryGroup _id can't be null, It should be set before accessing it. This is abnormal behaviour
```
### Expected behavior
No warning
### 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):**
- OS: [e.g. iOS]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
Best,
mj
1 Like