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

[context view] using the _uid field as a tiebreaker consumes a lot of fielddata memory #11925

Closed
weltenwort opened this issue May 19, 2017 · 3 comments · Fixed by #12096
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience v5.5.0 WIP Work in progress

Comments

@weltenwort
Copy link
Member

The current query mechanism for the context view utilize the search_after query parameter in combination with sorting on the index pattern's time field and the _uids. Since _uids do not yet support docvalues (elastic/elasticsearch#11887), this fills up the fielddata cache very quickly and trips the circuit breaker for indices with many documents.

@weltenwort weltenwort added :Discovery bug Fixes for quality problems that affect the customer experience WIP Work in progress labels May 19, 2017
@weltenwort weltenwort self-assigned this May 19, 2017
@damm
Copy link

damm commented May 26, 2017

So I think I ran into this the other day; I don't really want to open a new issue as it seems this is fresh.

I have a lot of fields to begin with; (say 15,000) so I am sure that doesn't help.

P.S. I'm referring to the 'View Surrounding Documents'. If this issue isn't related please let me know so I can open a new issue.

Thanks!
screen shot 2017-05-26 at 4 44 48 pm

P.S. I didn't have any monitoring enabled when I killed my cluster with this feature; it survived this time but it seems to have kept a bunch of the data still loaded in field data... so I have to restart the cluster to get back down to 9gig heap in use.

@weltenwort
Copy link
Member Author

weltenwort commented May 30, 2017

@damm Yes, this is the same effect. Sorry for the delayed response.

@jpountz
Copy link

jpountz commented Jun 15, 2017

I opened elastic/elasticsearch#25240.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience v5.5.0 WIP Work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants