Modify BloomDimFilter to use BloomFilter instead of BloomKFilter which is not thread safe#6547
Closed
clintropolis wants to merge 2 commits intoapache:masterfrom
Closed
Modify BloomDimFilter to use BloomFilter instead of BloomKFilter which is not thread safe#6547clintropolis wants to merge 2 commits intoapache:masterfrom
clintropolis wants to merge 2 commits intoapache:masterfrom
Conversation
clintropolis
commented
Oct 30, 2018
| public boolean applyFloat(float input) | ||
| { | ||
| return bloomKFilter.testFloat(input); | ||
| return bloomFilter.testDouble(input); |
Member
Author
There was a problem hiding this comment.
I especially don't like this change, going to try and find something better to do here.
Contributor
|
@nishantmonu51 - as the original author of #6222, does this change still work for you? Also, tagging as 0.13.0, since the thread-safety bug should be resolved one way or the other before bloom filter filters are released. |
Contributor
|
@nishantmonu51 any thoughts on this one? |
Member
Author
|
An alternative to using |
Contributor
|
as per comment #6584 (comment) |
Member
Author
|
Closing in favor of #6584 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6546
Query json syntax is modified to match the change:
before:
after: