chronix.server
chronix.server copied to clipboard
querying chronix with cj=unknown_field makes chronix throw out of memory exception
Hi,
I queried chronix with cj=some_field, few documents don't have the field I used with cj, after few seconds CPU processing went 100% and after some time it throws out of memory exception.
Sample data
{
"type":"metric",
"name":"m12",
"start":1577701965293,
"end":1577701965293, "data":"H4sIAAAAAAAAAOPi1Dx7BgRq7Ll4FR4sF9JkgAIuJgNGLk7NWTNBQNOei00AKGvAKMAAAFjYSa0zAAAA",
}
Query
http://localhost:8983/solr/chronix/select?_=1577708759371&cj=someField&q=*:*&rows=10&start=0
Thanks, Rishi
@FlorianLautenschlager Could you able to replicate this issue?
Hi @Rishi0405,
thank you for your ticket. I was on vacation and I have lot on my plate in the new year.
Question:
- How many points are stored in a document? The behavior you describe, often occurs if you have very few points per document?
Kind Regards, Florian
@FlorianLautenschlager I am not sure about the points count in the document. But in my test case, I have tested with fewer points. However, I am also getting "null" in join_key if the specified CJ field is set as optional in solr schema.