Skip to content

release/v1.2: Alpha: Enable bloom filter caching (#5552)#5554

Merged
jarifibrahim merged 1 commit intorelease/v1.2from
ibrahim/r1.2-bf-cache
Jun 8, 2020
Merged

release/v1.2: Alpha: Enable bloom filter caching (#5552)#5554
jarifibrahim merged 1 commit intorelease/v1.2from
ibrahim/r1.2-bf-cache

Conversation

@jarifibrahim
Copy link
Copy Markdown
Contributor

@jarifibrahim jarifibrahim commented Jun 1, 2020

Badger supports the caching of SST bloom filters. This PR enables
caching bloom filters in ristretto. The bloom filter cache is enabled
only for the p directory. The bloom filters for the w directory will be
kept in memory. We can add caching for it later if necessary.

This PR also removes old stale todos.

(cherry picked from commit 92328a7)


This change is Reviewable

Docs Preview: Dgraph Preview

Badger supports the caching of SST bloom filters. This PR enables
caching bloom filters in ristretto. The bloom filter cache is enabled
only for the p directory. The bloom filters for the w directory will be
kept in memory. We can add caching for it later if necessary.

This PR also removes old stale todos.

(cherry picked from commit 92328a7)
@jarifibrahim jarifibrahim requested a review from manishrjain as a code owner June 1, 2020 15:15
@jarifibrahim jarifibrahim requested a review from a team June 1, 2020 15:15
@jarifibrahim jarifibrahim changed the title Alpha: Enable bloom filter caching (#5552) release/v1.2: Alpha: Enable bloom filter caching (#5552) Jun 1, 2020
Copy link
Copy Markdown
Contributor

@pawanrawal pawanrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@jarifibrahim jarifibrahim merged commit ff5c7c1 into release/v1.2 Jun 8, 2020
@jarifibrahim jarifibrahim deleted the ibrahim/r1.2-bf-cache branch June 8, 2020 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants