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

Fix FieldDataWeighter generics to accept RamUsage instead of AtomicFieldData #6262

Merged
merged 1 commit into from May 21, 2014

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented May 21, 2014

The FieldDataWeighter allowed to use a concrete subclass of the caches
generic type to be used that causes ClassCastException and also trips the
CirciutBreaker to not be decremented appropriately.

This was tripped by settings randomization also part of this commit.

Closes #6260

@jpountz
Copy link
Contributor

jpountz commented May 21, 2014

LGTM

1 similar comment
@dakrone
Copy link
Member

dakrone commented May 21, 2014

LGTM

…eldData

The `FieldDataWeighter` allowed to use a concrete subclass of the caches
generic type to be used that causes ClassCastException and also trips the
CirciutBreaker to not be decremented appropriately.

This was tripped by settings randomization also part of this commit.

Closes elastic#6260
@s1monw s1monw merged commit 17d34d5 into elastic:master May 21, 2014
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Fielddata labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FieldData: Global ordinals cause ClassCastExceptions if used with a bounded fielddata cache
4 participants