Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

querying chronix with cj=unknown_field makes chronix throw out of memory exception #156

Open
Rishi0405 opened this issue Dec 30, 2019 · 3 comments

Comments

@Rishi0405
Copy link

Rishi0405 commented Dec 30, 2019

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

@Rishi0405
Copy link
Author

@FlorianLautenschlager Could you able to replicate this issue?

@FlorianLautenschlager
Copy link
Member

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

@Rishi0405
Copy link
Author

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants