Skip to content

[Backport] use a sha512 hash of bloom filter for cache key instead of filter bytes#6618

Merged
dclim merged 1 commit intoapache:0.13.0-incubatingfrom
clintropolis:backport-6488-to-0.13.0-incubating
Nov 13, 2018
Merged

[Backport] use a sha512 hash of bloom filter for cache key instead of filter bytes#6618
dclim merged 1 commit intoapache:0.13.0-incubatingfrom
clintropolis:backport-6488-to-0.13.0-incubating

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Backport of #6488 to 0.13.0-incubating.

…es (apache#6488)

* use a sha512 hash of bloom filter for cache key instead of filter bytes

* make serde private, BloomDimFilter.toString and BloomDimFilter.equals use hash instead of bloomKFilter which has no tostring or equals of its own

* keep and use HashCode object instead of converting to bytes up front

* uneeded imports oops

* tweaks from review

* refactor dupe code

* refactor
@clintropolis
Copy link
Copy Markdown
Member Author

Backporting this to allow backport of #6584

@dclim dclim added this to the 0.13.0 milestone Nov 13, 2018
@dclim dclim merged commit f288d4a into apache:0.13.0-incubating Nov 13, 2018
@dclim dclim added the Backport label Nov 16, 2018
@clintropolis clintropolis deleted the backport-6488-to-0.13.0-incubating branch November 27, 2018 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants